# Guys,help me out! pls

**URL:** <https://community.postman.com/t/guys-help-me-out-pls/27188>\
**Category:** Help Hub\
**Created:** [August 26, 2021, 7:32pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188 "2021-08-26T19:32:23Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [August 26, 2021, 7:32pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/1 "2021-08-26T19:32:24Z")

</div>

Guys,help me out!

In my 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](https://www.getpostman.com/collections/73d5bc8cb62284603140) [[image]](https://us1.discourse-cdn.com/getpostman/original/2X/5/58ea12e7143c9777a9da09a4566120e639a5d95c.png)

---

<div class="post-metadata">

**Author:** ![cmnazario](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cmnazario/32/10207_2.png) [@cmnazario](https://community.postman.com/u/cmnazario)\
**Post date:** [August 27, 2021, 2:18am UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/2 "2021-08-27T02:18:41Z")

</div>

Hey @sparti  
I ran your collection in my environment and you need to make the following adjustments:

1. The folder “2. Scripting and Collection Runs” is incomplete, I suggest you go back to this step because some validations are missing in the requests and in the folder itself;
2. In the “3. Skill check” folder in the “Auth” tab you must remove the single quotes from

> auth\_key  
> loads

1. After doing steps 1) and 2) delete the collection link and generate a new one and validate again in the “Test collection” request to check if your collection will pass.

Made the above adjustments, if you keep giving an error, you put it here that I’ll help you, because I may have forgotten some item 😉

---

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [August 27, 2021, 10:18am UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/3 "2021-08-27T10:18:09Z")

</div>

i’ve already redone the “2. Scripting and Collection Runs” already,so can you be even more specific?

---

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [August 27, 2021, 10:20am UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/4 "2021-08-27T10:20:42Z")

</div>

like which sub division exactly i should look at?

---

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [August 27, 2021, 1:04pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/5 "2021-08-27T13:04:13Z")

</div>

@cmnazario can u let me know like which sub division exactly i should look at?

---

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [August 27, 2021, 1:06pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/6 "2021-08-27T13:06:25Z")

</div>

@cmnazario  
as i have rerun it already?

---

<div class="post-metadata">

**Author:** ![cmnazario](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cmnazario/32/10207_2.png) [@cmnazario](https://community.postman.com/u/cmnazario)\
**Post date:** [August 27, 2021, 1:23pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/8 "2021-08-27T13:23:54Z")

</div>

Hey @sparti  
The problem in the “2. Scripting and Collection Runs” folder was that the “Test” tab was missing validations

But it’s important to remember that you delete the collection link and generate a new one so that the Postman validator picks up the new collection changes.

When you finish the changes put the print of the errors you are taking here if it persists 😉

---

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [August 27, 2021, 7:14pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/9 "2021-08-27T19:14:40Z")

</div>

@cmnazario

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/a/3/a3fedb033be2f8facd31136f257df0ad95a0f3ce.png)  
how to edit the text in documentation here?or where’s the text in documentation here?

---

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [August 27, 2021, 7:15pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/10 "2021-08-27T19:15:53Z")

</div>

@cmnazario Also, how to generate a new collection link ?

---

<div class="post-metadata">

**Author:** ![cmnazario](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cmnazario/32/10207_2.png) [@cmnazario](https://community.postman.com/u/cmnazario)\
**Post date:** [August 27, 2021, 7:30pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/11 "2021-08-27T19:30:33Z")

</div>

Hello @sparti ,

Okay, first point, did you make the adjustments in the step of folder 2?

If so, generate the new link so that the changes you made are validated.

To generate a new link you can click on the trash that is on the same screen where you generated the collection link, then generate a new collection link and validate it in the “Test Collection” request so we can see if there is still mistakes.

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/9/9ca2067c20f0ac44ff93e41c4edb17b16bdec06a.png)

---

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [August 29, 2021, 5:38am UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/12 "2021-08-29T05:38:15Z")

</div>

@cmnazario This is the updated collection link - [https://www.getpostman.com/collections/73d5bc8cb62284603140](https://www.getpostman.com/collections/73d5bc8cb62284603140)  
I’ve made changes in the 2nd folder(Scripting & Run) as you said,  
As the snapshot linked says, i have cleared 8 tests on 11.Kindly help me with the ways that has to be carried out to clear those as well.

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/a/ac5050c5f92e0300f015d8aab74b642c9ab593e2.png)

---

<div class="post-metadata">

**Author:** ![cmnazario](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/cmnazario/32/10207_2.png) [@cmnazario](https://community.postman.com/u/cmnazario)\
**Post date:** [August 29, 2021, 7:41pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/13 "2021-08-29T19:41:01Z")

</div>

Hello @sparti 🙋🏽‍♀️

I accessed your collection and your changes were not shown to me here…  
But let’s go!  
Apparently there is a lot to be done in step 2 (Folder 2), I suggest you follow the step by step of this part from the request “Get all player” because the errors are being generated due to lack of information in this specific part.

**1st To solve error 8** =\>

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

a) The error is occurring because code is missing from the “Test” tab of the “2. Scripting and Collection Runs” folder.  
In this folder, the training requires that you put a specific test validation so that you can see that any validation that is defined there will be executed on each request that is inside that folder;

b) There is a condition missing in the tab “Tests” of the request “Get specific player” which is inside the folder “2. Scripting and Collection Runs”.  
This condition says that if the value returned in the “played” property is less than 750 it will call the request “Get all players”.

If you redo this part of the training looking specifically at this part you will be able to solve it 😉

* * *

**2nd** You need to create an environment because in the second part of the training (Folder 2) it uses an environment variable and passes this variable as a parameter in the request “Get specific player”.

If you do this you get to pass error number 7 =\>

> Used variables | AssertionError: expected to have a length above 0 but got 0

* * *

**3rd** Finally, after all the changes I described above, you send the request “Skill check” twice (In the first one it takes the value and fills the environment variable and in the second it saves the answer changing the Skill checker to complete).

* * *

After all these changes you delete the collection link and generate a new one and validate the request “Test collection” which is in the folder “3. Check Progress”.

* * *

My goal is to give you guidelines for you to complete the training by understanding the process, so I didn’t put in what codes are missing.  
If you have any more questions or errors, let me know that I’m available to help you 😉

---

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [August 30, 2021, 6:13pm UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/14 "2021-08-30T18:13:35Z")

</div>

> [@cmnazario](#):
>
> request “Get all players”.
> 
> If you redo this part of the training looking specifically at this part you will be able to solve it

Hey! thanks but still i get 2 errors,though i change it to new environment for “get specific players” folder and then run skill check twice,i get these errors.

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/5/5c9549b7fde8e69b4a3f6109ca0af30b8ec43055.png)  
Here is my updated collection link - [https://www.getpostman.com/collections/73d5bc8cb62284603140](https://www.getpostman.com/collections/73d5bc8cb62284603140) Can u check once again and let me know ?

---

<div class="post-metadata">

**Author:** ![dineshbad](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@dineshbad](https://community.postman.com/u/dineshbad)\
**Post date:** [September 20, 2021, 9:35am UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/15 "2021-09-20T09:35:01Z")

</div>

in your 2nd test , its saying that array to have length above 0 , means ur array is empty please try to add some value . That might help u in this case.

And in ur 5th test case , ur array[5] should include skilled value which is missing at positon 5th of ur array , add this value. I think that will help uh out

---

<div class="post-metadata">

**Author:** ![sparti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sparti/32/9422_2.png) [@sparti](https://community.postman.com/u/sparti)\
**Post date:** [September 20, 2021, 10:24am UTC](https://community.postman.com/t/guys-help-me-out-pls/27188/16 "2021-09-20T10:24:44Z")

</div>

I got it done! Got the expert badge as well. Thanks for all your help. It really means a lot!!

Thanks  
Sathya priyaa R
