Re: Property Transfer Test Step adding extra bracket in the value
Hi,
I have the same problema that Nhan. I have the following response JSON´s service
{
"data": {
"idSesion": 7,
"seed": "EFER642XVE5PF2OE"
},
"idAplicacion": 1,
"idOperacion": 1,
"idProducto": 176,
"statusMensaje": 1,
"statusOperacion": 1
}
I want to use the next value seed in the next JSON´s service. Im trying use Property Transfer, but I can´t do it . Could you help me?
Add the JSON path expression $.data.seed under the source Login Request 1 then you should see the transferred value.
Thanks PaulMS ,
The solutions is ok, with JSON path.
- As you can see the error message:
It is line 1, column1
where the script is even not started. May be so copy paste or special invisible characters? not sure. Hi
The script assertion would need to be added to the first request. If added to the second request the response will be different and the script would fail.
The result of the property transfer step is the same anyway so you can choose whichever method is easier.