I have a POST request, the body section has the code like below.
I wish to increase the ID, date and time, is there a way in Postman that I can do this?
{
“project”: {
"id": 1000,
“name”: “project name 1”,
“Settings”: {
“startDate”: “24/10/2019 09:17”,
"date": “25/10/2019”,
"time": “23:49”,
…
How to let Postman increase the ID by 15, increase the time by 10 minutes, but once it pass 23:58pm it will triger the date value to be adding 1 day?
So the above scripts will run as
{
“project”: {
"id": 1015,
“name”: “project name 1”,
“Settings”: {
“startDate”: “24/10/2019 09:17”,
"date": “25/10/2019”,
"time": "23:59"
…
The next request:
{
“project”: {
"id": 1030,
“name”: “project name 1”,
“Settings”: {
“startDate”: “24/10/2019 09:17”,
"date": “26/10/2019”,
"time": “00:09”,
…
Thanks for any hints!