I want to create a dynamic url using karate framework. lets assume URL I want to create is :
https://www.mars.com/mars/profile/{profileID}/line
In above URL {profileID}
is path.
Currently I have written below feature file which is able to create the url however due using path keyword it encodes the url and add %0A
after profile id.
https://www.mars.com/mars/profile/264%0A/line
Feature File:
@smoke
Scenario: Create a line score in existing profile
And def urlname = marsuri+ '/mars/profile/'
Given url urlname
Given path id + '/line'
Please let me know how can I create a URL with path in between URL without encoding it.
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
at com.intuit.karate.StepDefs.status(StepDefs.java:491) – Automation_Test Feb 25 '19 at 14:39