mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Add some sample JavaScript tests for use with Postman API requests Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
2 lines
139 B
JavaScript
2 lines
139 B
JavaScript
var jsonObject = xml2Json(pm.response.text());
|
|
pm.environment.set("SubnetId", jsonObject.DescribeSubnetsResponse.subnetSet.item.subnetId);
|