I have a Postman test which parses the response and validates specific urls in the response. I am using pm.sendRequest() to validate the urls (there are more than 2000 urls in the response ).
The test collects all the invalid urls and print it on the console. This is working fine so far. The new requirement is if the url has an image*(.png, .jpg etc)* and if the image size is too large beyond certain limit, I need to print the size of the image and the time it takes to load the image.
Please share some pointers on this.