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
162 B
JavaScript
2 lines
162 B
JavaScript
var jsonObject = xml2Json(pm.response.text());
|
|
pm.environment.set("firstAz", jsonObject.DescribeAvailabilityZonesResponse.availabilityZoneInfo.item[0].zoneName);
|