Questions tagged [karate]

Use this tag for questions related to web-service API testing using the Karate framework.

4
votes
1answer
1k views

Getting issue while sending nested JSON as request to validate the POST REST API method using Karate framework

Please note that I am trying to send the below request and validate the response on POST method using url `http:******* Note : I tried sending nested Json as an array like ****[0]='', voucherData[1]='...
2
votes
1answer
229 views

Getting issue while automating SOAP service using Karate framework

I am a bit stuck while automating SOAP service . I have below url and request xml : Background: url Scenario: soap 1.1 request """ When soap action '********' Then status 200 After running ...
1
vote
1answer
357 views

Comparison testing using karate tool

I'm using karate tool for api automation testing. Is there a way to do comparison or A/B testing using karate - That's testing with 2 urls and making sure both return the same response..please help ..
1
vote
1answer
3k views

Getting issue with passing string variable in JSON request [closed]

I am stuck in a scenario where i have created customized java code which returns a string. Next, I am passing it in another \path with JSON request below: Given url 'url' def browserCall = Java.type('...
0
votes
0answers
58 views

Report Generation using Karate framework through Jenkins

I could see only the test suite name which will comprise of all the steps involved in all the 10 test scripts written in Karate framework in the Jenkins workspace. Individual XMLs for each scripts are ...