‘’’
Get url baseurl + ‘/api/Search 1’ When method GET Then print response
Throwing error
Use path for this. Refer the docs: https://github.com/karatelabs/karate#path
path
Try this following test and see it work:
* url 'https://httpbin.org/anything' * path 'api', 'Search 1' * method get
Actual request:
1 > GET https://httpbin.org/anything/api/Search%201 1 > Host: httpbin.org
Copyright © 2021 Jogjafile Inc.
Use
pathfor this. Refer the docs: https://github.com/karatelabs/karate#pathTry this following test and see it work:
Actual request: