Day 09 Collection variables set | AssertionError: expected 4 is 3

Hello,

I have been stuck on day 09 and when I send my “get starships” request i get a 200 response. However when I go on to submit my collection 6/7 of them pass and 1 fails (Collection variables set | AssertionError: expected 4 to equal 3) despite there being 4 collectVariables.set.

could anyone help in this, thanks in advance.

Hey @joint-operations-ca6 :wave:t2:

Welcome to the Postman Community :postman:

Can you check that you have the latest version of that Challenge pulled into your forked Collection?

As per the documentation/post-response script on the source Collection, it should only check for 3 variables:

https://www.postman.com/postman/workspace/15-days-of-postman-for-testers/request/1559645-a45da4aa-c85d-4813-bbaa-1821784fbb21?action=share&source=copy-link&creator=8213448

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.