Hello. I use this script to send the next request instead of creating a new request in the collection. I need to use variables in that URL, but I’m facing this issue, could anyone help me?
pm.test("Status code is 200", function () {
pm.sendRequest('{{url}}/albums/picture/63862864732648', function (err, res) {
pm.expect(err).to.not.be.ok;
pm.expect(res).to.have.property('code', 200);
pm.expect(res).to.have.property('status', 'OK');
});
});