kaivi
7 years agoContributor
compare a response with a json file
Hey,
first of all i have a GET request with a response... now i wanna save the response in a JSON file to compare this with a existing JSON file.
HOW can i do this?
best regards
kai
You can use the following code:
... if (!(it.value == outputResp[it.key])) { log.info ("File Mismatch at : " + it.key) testRunner.fail( "File mismatch..." ) } ...