Facing Problem in Variable in Postman #776
Replies: 6 comments 5 replies
-
One of the task in postman API in the later part, you will encounter error. That's the part of their course. |
Beta Was this translation helpful? Give feedback.
-
And one more important point which i forgot to mention - |
Beta Was this translation helpful? Give feedback.
-
Still it is not working |
Beta Was this translation helpful? Give feedback.
-
Don’t you have any idea regarding how to check firewalls or proxy settings blocking request ? |
Beta Was this translation helpful? Give feedback.
-
@kashvi7440 Can you please provide the snapshot of the error from the dashboard? The
Please Double-check that the URL you are using is correct. Ensure there are no typos or errors in the URL. The URL |
Beta Was this translation helpful? Give feedback.
-
Thank you , you are right the url was wrong . But i was not getting how to
change the url so i deleted the collection files and do the work from the
starting.Now all the 26/26 test cases passed but during claiming my badge
it is showing some error like :
❌ [get books] base URL is set to {{baseUrl}} $expected '{{submission}}' to
match /^{{baseUrl}}/i
❌ [get books] path is set to /books $expected '{{submission}}' to match
/\/books$/
❌ [get fiction books] base URL is set to {{baseUrl}} $expected
'{{submission}}' to match /^{{baseUrl}}/i
❌ [get fiction books] path is set to /books $expected '{{submission}}' to
match /\/books\??/
❌ [get fiction books] query parameters for genre=fiction and
checkedOut=false are both set with the correct values $Cannot read
properties of undefined (reading 'some')
❌ [get book by id] Is a GET request $expected 'POST' to equal 'GET'
❌ [get book by id] base URL is set to {{baseUrl}} $expected '
https://lesson-completion.postmanlabs.com/submit' to match /^{{baseUrl}}/i
❌ [get book by id] path is set to /books/:id $expected '
https://lesson-completion.postmanlabs.com/submit' to match /\/books\/:id$/
❌ [add a book] is a POST request $Cannot read properties of undefined
(reading 'request')
❌ [add a book] base URL is set to {{baseUrl}} $Cannot read properties of
undefined (reading 'request')
❌ [add a book] path is set to /books $Cannot read properties of undefined
(reading 'request')
❌ [add a book] has a JSON body with title, author, genre, yearPublished $Cannot
read properties of undefined (reading 'request')
❌ [add a book] has post-request script in Scripts tab $Cannot read
properties of undefined (reading 'event')
❌ [checkout a book] is a PATCH request $Cannot read properties of undefined
(reading 'request')
❌ [checkout a book] base URL is set to {{baseUrl}} $Cannot read properties
of undefined (reading 'request')
❌ [checkout a book] path is set to /books/:id $Cannot read properties of
undefined (reading 'request')
❌ [delete a book] is a DELETE request $Cannot read properties of undefined
(reading 'request')
❌ [delete a book] base URL is set to {{baseUrl}} $Cannot read properties of
undefined (reading 'request')
❌ [delete a book] path is set to /books/:id $Cannot read properties of
undefined (reading 'request')
❌ [COLLECTION] Collection level Auth is set to type API Key with header
named api-key $Cannot read properties of undefined (reading 'type')
❌ 1. [skillcheck] Used POST as the request method $Cannot read properties
of undefined (reading 'request')
❌ 2. [skillcheck] Used a query parameter called 'movieName' $Cannot read
properties of undefined (reading 'request')
❌ 3. [skillcheck] Used a base URL variable called {{skillcheckBaseUrl}} $Cannot
read properties of undefined (reading 'request')
❌ 4. [skillcheck] Set request level auth to “API key” & header to
“student-expert" $Cannot read properties of undefined (reading 'request')
❌ 5. [skillcheck] Used a JSON body with 'actorName; $Cannot read properties
of undefined (reading 'request')
❌ 6. [skillcheck] Set "favoriteActor" as a collection variable using
pm.collectionVariables set(...) in Tests tab script $Cannot read properties
of undefined (reading 'event')
…On Tue, Jul 30, 2024 at 12:56 AM Mastan Sayyad ***@***.***> wrote:
@Adi-123456789 <https://github.com/Adi-123456789> No!! the URL you
provide is wrong https://library-api.postmanlabs.com/books this is
correct URL, the one you provide Is not secured.
—
Reply to this email directly, view it on GitHub
<#776 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A24SWPKHHWVSCBRKQOHHVXLZO2JN5AVCNFSM6AAAAABLUYSLIWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJYGMYTSNI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
GET http://library-api.postmanlabs.com/books
Error: connect ECONNREFUSED 3.212.185.211:80
Network
Request Headers
User-Agent: PostmanRuntime/7.40.0
Accept: /
Cache-Control: no-cache
Postman-Token: 8d73d812-d740-4624-99d2-98aabbb2795d
Host:
After creating , i click on the send button then the above message appeared.What should i do now?
Beta Was this translation helpful? Give feedback.
All reactions