Dchen
7 years agoOccasional Contributor
How to manipulate Values in combination with "get data" or "Message Content Assertion"
Hi,
I am using a stored procedure to get results and compare them to the API.
So example SQL stored procedure results:
Id, Type, Date
1, Address, 2018-08-18 00:00:00.000
2, Port, 2018-02-20 10:02:00.000
Response from the API:
"id" : "1",
"locationType" : "address",
"date" : "2018-08-18T00:00:00"
and
"id" : "2",
"locationType" : "port",
"date" : "2018-02-20T10:02:00"
So when i do a "Message Content Assertion", it will fail on the lowercase location type and it will fail on the date format.
Does anybody have an idea what the best way is to solve this?
Lets assume that i need to use the stored procedure, because of valid reasons.
See attachments of my real test case.
Regards,
Donny