Student Expert Issue

@suesmith
Once I share the link, and run the test collection one. I get these tests failing. But the skills pass. not sure what to do

Used GET, POST, PUT, DELETE methods | AssertionError: expected [ ‘GET’, ‘GET’ ] to be a superset of [ ‘GET’, ‘POST’, ‘PUT’, ‘DELETE’ ]
FAIL
Used query and path parameters | AssertionError: expected to have a length above 0 but got 0
FAIL
Sent body data | AssertionError: expected to have a length above 0 but got 0
FAIL
Used variables | AssertionError: expected to have a length above 0 but got 0
FAIL
Added request description | AssertionError: expected to have a length above 0 but got 0

1 Like

@suesmith
https://www.getpostman.com/collections/2b220804f742c40a50d0

@suesmith

here is the link so u can see tests that pass
https://www.getpostman.com/collections/7113b113bc0bbf5ca6ff

Hi @ferpioli I believe I can see the issue, you seem to have removed a header from the request which is required for this to work–if you can import the student expert template over again and open the skill check request you should see there is meant to be one in there named response-value that has gone missing from yours. Feel free to copy it from the newly imported version into your completed collection and try again. :upside_down_face:

@anantsan the collection is missing some required parts–maybe you haven’t saved your requests from the first two folders…? When you work through the steps in the first two folders you need to make sure your requests are saved, and update the share link before trying again. :slightly_smiling_face:

thanks, @suesmith follow the link.
https://www.getpostman.com/collections/2b220804f742c40a50d0
I sent it through the form too

@ferpioli this collection also looks incomplete–you’re going to want to make sure you’ve worked through all of the steps in the first two folders and saved your requests. When you’re done, copying the collection link into the final request Test collection will indicate whether your collection is ready for submission or not. :upside_down_face:

hi @suesmith all my tests passed and i sent the link what is the next step? thanks for the help

Hopefully you saw a confirmation message indicating we will check the submission and be in touch within a couple of weeks… :slightly_smiling_face:

where to send t he link once test collection shows all tests passing?

@suesmith, I didn’t receive any feedback in my email, I’m waiting, thanks!

Hello @szymon.kozuszek ,

Welcome to the Community :clap:

Still in your Test Results section, you have one failed Test, means something else is pending! It should look like:

After getting 10/10 passed, you should copy the public link of your collection and submit it in http://bit.ly/student-expert-submission\

1 Like

Set env variable from script and set next request | AssertionError: expected [] to have a length above 0 but got 0
This error is coming can anyone tell me what I am doing wrong

Hello @carrycooldude Welcome to the community :bouquet:

Please spare a moment to read this post

Also please have a look at the similar query answered here :slightly_smiling_face:

Hey @thejas2002! Can you provide a bit more context around the issues you’re having? That will make it much easier for folks on the forum to help you out. If you have a link to your collection, that may also help understand your sticking points :slight_smile:

1 Like

respected sir,
I got my issue resolved in the postman student expert program and I got the 11/11 skill test passed and thanks for your help.
Thank you
yours faithfully
Thejaswin S

2 Likes

That’s great to hear! Would you mind sharing what you did to get it working? Or sharing a link to the discussion where you found the solution if that’s possible? This would help in case anyone else has the same issue going forward :slight_smile:


Hey, can anybody help me to fix this I don’t know why it’s happening? I did everything correctly but still tucked in this

Fail: Used query and path parameters | AssertionError: expected to have a length above 0 but got 0

Fail: Set env variable from script and set next request | AssertionError: expected to have a length above 0 but got 0

There are certain requests in the collection that you need to use query params and path variables.

I would suggest starting from the beginning and walking through each of the requests, taking time to read the instructions contained in the responses.

I could just tell you the answers but it defeats the object of the course and takes away the learning opportunity for you.

Being able to debug these issue in a controlled environment like that collection will set you up for your future postman learnings.

2 Likes

Thanks @dannydainton,
Finally, I am able to debug and fix those issues. And now it passes all tests.

2 Likes