alfonsolft
8 years agoOccasional Contributor
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, "i...
- 8 years ago
Add the JSON path expression $.data.seed under the source Login Request 1 then you should see the transferred value.
- 8 years ago
Thanks PaulMS ,
The solutions is ok, with JSON path.
- 8 years ago
- 8 years agoAs 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. - 8 years ago
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.