Category "karate"

Using Karate, how do I loop though a json to pick up the value for a key based on another key in that json block?

Below is the JSON response I get from which I want to extract y1. Before getting the response, I know x1 already but I don't know y1. So for that particular x k

How to handle requests with signatures on karate tests?

First of all, thanks for build karate it's a very useful for test API's and UI's. We are using it to test a lot of our endpoints but we would like to know if th

Why is my Java function in my Karate feature returning a String instead of an array?

I am new to software testing and working in a Karate environment. Currently I am working on a story where I have to test that the maximum number of database ent

Using tags to exclude group of features [duplicate]

We are using tags to be able to group features and senarios. For example, we have something like: @jira=123 Scenario: test scenario 1 ... @j

Does Karate DSL Framework has the capability of performing load testing

Currently, we've automated all of our web services using the Karate framework and it is super cool.Is there any way we can do the load testing with this tool?

Trying to upload image using Karate REST API tool

I m trying to upload two images in the post method, like this but it's returning this error, the api didn't receive the uploads images I want to know how is t

Karate 1.0.1 NullPointerException when sending a number in a PUT request

Going from karate 0.9.5 to 1.0.1 I found that sending a PUT request with a number returns a java.lang.NullPointerException. e.g. In v0.9.5 this was working: Giv

Is there a way to assign a unique "ID Key" to each feature/scenario in Karate DSL

I would like to know if it is possible to assign "ID Keys" to each feature or scenarios in Karate DSL in order to keep all of them uniquelly referenced. When yo

Is there any way to save response of each iteration of Scenario Outline to a variable and consolidate all the responses into a single json file

I'm trying to save the json response of each iteration of the Scenario Outline and consolidate all the responses into a single json file. But i'm unable to save

Can anyone explain how to get all the mismatch between two responses in karate?

Like if I have two JSON as below and I want to check the mismatch between those JSON 1: { name:'john', contact:'123', country:'america' } JSON 2

Karate tooling : How to make rest api kerberised calls/SPNEGO authentication? [duplicate]

We have a basic use case to connect to webserver and get an ack back but having issues in Authentication. Scenario : Feature sample Given url

Quarkus Karate Test Error: Could not find option with name engine.WarnInterpreterOnly

I want to Test my Endpoints using Karate, but when starting the Test I get following Error: java.lang.IllegalArgumentException: Could not find option with name

How to check a particular value on basis of condition in karate

Goal: Match the check value is correct for 123S and 123O response in API First check the value on this location x.details[0].user.school.name[0].codeable.text i