Skip to main content

All Questions

1 vote
1 answer
705 views

How to parametrise a single Cucumber API test Scenario with Multiple Json request in KARATE framework

As of now, I have a single cucumber scenario which runs with a json file with single API request. I want to run the same scenario for multiple API request using same json. So I can verify multiple api ...
Anuj Bajpai's user avatar
1 vote
1 answer
146 views

How can i use logical OR for json array response

I have a scenario where response of a API is JSON array. Below i have given an example of JSON response where 'test' is key which is available across the array. So i have to write to Feature step ...
Being Automation's user avatar
3 votes
2 answers
3k views

How to pass data across cucumber steps (Test Automation rest assured API test)?

I have created an api test which hits an endpoint and receives a response back however I'm struggling to use this response within another cucumber step. My first step uses the following method: ...
SamP's user avatar
  • 437
-1 votes
1 answer
2k views

How to validate SOAP service XML file with given XML using Karate

I'm learning Karate API for executing our SOAP-based web services. For that, I have created two XML files in which, one is, request information and another one is response data. And then I have ...
Karunagara's user avatar