I am trying to create Karate feature file for API Testing. It is a post request and we have to pass random number for 1 field i.e. order in request payload every time. Now, I am trying to use this function in the same feature file to pass that random generated value in json payload before sending post request.
Could someone please have a look at my feature file and help. Thanks
Also, Is there a way if i want to pass this same random value for a json payload created as a separate request.json payload file
