Relative Content

Tag Archive for karate

Karate reusable file takes long time to get execute after first call

Booking confirm is one of the reusable file in automation script which runs the api endpoint and returns the json payload, which is large payload. When it get execute first time its very fast execution and in main feature file doing lots of validation. And afer some other operation calling the booking confirm reusable file to validate the amend details. but it takes long. not sure why? and thrid time even taks longer than the second time. I thought the values could be overriding in the contex. Can someone help on this, to improve perform of karate automation script, when we call reusable file multiple time from the mainfeature