those who know the procedure of doing skill check in the process of acquiring postman student expert badge,kindly help me,i’m stuck up with skill check and here i attach the screen shot of the same.
This is my workspace link - Skill check - My Workspace (postman.com)
@sparti Welcome to the Community
You have shared the workspace link, next time the collection link will be better I hope you are aware to get the collection link, because it is needed to run the final request “Test Collection”.
Can you please share the snapshot of failing Test cases?
You must fill the “Key” field on the Authorization tab with the value “auth_key” and the “Value” field below with the level you learned, for example: loads, nothing, etc. Would be like this:
Key: auth_key
Value: very
Note: Change the Value to your personal learning level
Hello @sparti, as @cmnazario mentioned you need to select the Authorization type as “API Key” and need to provide the “auth_key” and it’s value (any random text)
Hello @sparti
I check your workspace
Under Tests of the “Skill Check” there are minor issues:
- correct the variable name of your JSON object
var JsonData= JSON.parse(responseBody);
you are naming it as JsonData and accessing it as jsonData
pm.environment.set(responseData, jsonData.rand);
- Variable name should be wrapped in quotes.
pm.environment.set("responseData", jsonData.rand);
- Improper closure for the pm.test. missing symbols at last - });
Hope you are good now, please let me know if you still have issues here!
So,i have changed the ones that you mentionned but still i face errors like rand isn’t defined,help me with that.
Hi @sparti,
It should be
console.log(JsonData.rand);
If you still face any errors, kindly paste your snippet here with detailed screenshots
hey, i passed skill check.Thanks so much for your help…
But in the test collection,i face some errors,so someone help me with that as well.
Here,is my collection link - https://www.getpostman.com/collections/73d5bc8cb62284603140
But in the test collection,i face some errors,so someone help me with that as well.
Here,is my collection link - https://www.getpostman.com/collections/73d5bc8cb62284603140
What are the test results? It’s hard to see what’s failed from that image.
Did you update the Collection link again after making changes to the Collection?
This is the structure of the Collection in that link - which is not correct.
how to get the collection link?
I don’t really understand the question - how did you get the link that you’re using to test the collection?