Sobes.tech
Middle

What language do you write scripts in Postman? Do you have experience with Groovy? What complexity JSON Path expressions do you use?

sobes.tech AI

Answer from AI

Postman uses JavaScript for scripting. Scripts are used to prepare request data, verify responses, and automate tests.

Experience with Groovy is usually associated with tools like SoapUI, where Groovy is used for more complex testing logic and data processing.

JSON Path expressions in Postman can be simple, such as $.store.book[0].title, or more complex with filters and conditions, for example:

$.store.book[?(@.price < 10)].title

This expression selects the titles of books with a price less than 10.

In Postman, basic and intermediate JSON Path expressions are typically used to verify specific values in API responses.

What language do you write scripts in Postman? Do you… - sobes.tech