Комментарии:
Great tutorial! thank you so much!
Ответитьautomation thru postman explained very nicely. Appreciate your efforts for making this series of usefull videos.
I have a challange where I need to send checksum in every request. And check sum calculated on payload size. How I can send this checksum value automatically in every request.
The payload is in json format. Example payload:
I have logic to generate checksum, but I need to calculate and replace it before sending the request. Can I automate this calculation in postman??
{
"type": "people",
"id": "42",
"attributes": {
"name": "John"
}
"user-limit": 4,
"checksum": 211856345
}
Here checksum calculated for the below json payload first, and then added checksum.
{
"type": "people",
"id": "42",
"attributes": {
"name": "John"
}
"user-limit": 4
}
excellent
ОтветитьIt was very helpful. thank you!
ОтветитьGood work bro 👍
ОтветитьThank you! I hardly got it in pre-request script, not in body.
ОтветитьHi Sir,
Please share the collection for the same
Helpful Thanks.
How to generate multiple random unique numbers for the array.
"phoneNumber": [
{{randomNumer_1}}
,------------------n
]
Was helpful, Thanks for the detailed explanation
(I just noticed the below
var repositoryName = "Sample-API-" + pm.variables.replaceIn('{{randomInt}}');
$ missing in description )