Hi
I am new user using readyapi 3.5.0 🙂
I have some rest apis with Josn request to test , i need to control the format of every keys value (with string type) in Json request with two main concern:
1- make sure that all the values meet UTF8 encoding standard
2- Check if the characters on the key is only contain these characters
a-zA-Z0-9@+_-.:!#$%&*/=?^_{|}~;
in this case i am going to create test step but i don't know how can i control above concerns ?
Solved! Go to Solution.
Hi richie
Many thanks for your detail answer & descriptions
1- Concerning the first issue (UTF8) i believe on your thought too , but using non UTF8 characters in string values would not harm the Json format and it is still valid Json (like: "org_name": "‡₧¥º")
So i need to figure out how can i handle this issue and send proper response as invalid characters !
2- Refer to second issue if i want to do the controlling assertion one by one , that would be so long ! so there should be a way and if you can handle it with groovy script with length limitation , that is super and i would be appreciate if you gave me sample script ?
Subject | Author | Latest Post |
---|---|---|