I had to use if (establishment.rating >= 4.0 && establishment.business_status == "OPERATIONAL" && establishment.opening_hours.open_now) since if business_status is CLOSED_TEMPORARILY then there opening_hours part gets missing.
slight problem with your sushi test. line 8: if (establishment.opening_hours.opens_now && establishment.rating >= 4.0) { i don't think it's wise to use "establishment.opening_hours.opens_now" to test against. in my instance i was getting an empty array back because of the time difference. 8 hours means the sushi bars are closed for me, which breaks the test :(
I found the issue ...in Google platform the listed the request as: maps.googleapis.com/maps/api/place/nearbysearch/output?parameters and it should be: maps.googleapis.com/maps/api/place/nearbysearch/json?parameters
Just a quick observation: the included test to create the "choices" environment variable fails if any of the restaurants returned from Google fail to include the "open_now" field. I was following along, but trying my location and "barbecue" and the test kept failing. It took a StackOverflow request to discover the missing info. I added "open_now" = TRUE in the request headers and everything worked just fine. Just so's you (or anyone else knows). Obvious in hindsight, but really confusing trying to follow along with the tutorial.
My test is also failing when i use "sushi" as the keyword. I'm getting an TypeError: Cannot read property 'open_now' of undefined. Can anybody help me figuring out why this happens? When i use "pizza" as a keyword everything seems fine. That doesn't make sense to me. The JSON response looks the same in both cases. I also tried adding the request header like you said, but no change.
The last 3 characters of my twitterID are 216, but for some reason when the test assigns the value it ends in 200 every time. Does anyone know what's going on?
I think it is not clear how you call request B from request A. Where does the chaining actually take place? Does it call all the requests in the collection in order? What if we want to make sync calls from an array in the response to request A so that we get many sync request to request B?
Pretty useful, just started using postman for quick solutions. I felt like the video was a bit rushed.. it might be useful if you slowed down a bit and spent more time on each step. thx
Very nice and clear tutorial series. Would be nice to see more of these.
Excellent videos for the beginners
Pretty nice example of POSTMAN Chaining concept.
Excellent tutorial, Exactly what i was looking for. Thanks for it
How do you chain the xml response value net xml request?
If you are getting "ZERO RESULTS" try switching from keyword: "sushi" to keyword: "pizza"
I had to use
if (establishment.rating >= 4.0 && establishment.business_status == "OPERATIONAL" && establishment.opening_hours.open_now)
since if business_status is CLOSED_TEMPORARILY then there opening_hours part gets missing.
slight problem with your sushi test. line 8: if (establishment.opening_hours.opens_now && establishment.rating >= 4.0) {
i don't think it's wise to use "establishment.opening_hours.opens_now" to test against. in my instance i was getting an empty array back because of the time difference. 8 hours means the sushi bars are closed for me, which breaks the test :(
I have 10 rows in csv file and one of the value in the row is null but like to skip it. How can I approach this issue?
Can you please share any simple example of chaining requests?
Feature Request: Play the sound at 8:22 in the Collection Runner when "Run" is pressed.
I am getting 403 error with post. please help
am trying to send a array of values chained to another API how do I do that?. Does anyone have an example
Nicely explained chaining concepts. Can you please share the sample collection.
In the Postman app, go to the +New button > Templates tab > search for "sushi", and you can import the template called "Sushi Selector".
This is great, but I had the mentos theme playing over and over in my head after the 3 second intro...
I found the issue ...in Google platform the listed the request as:
maps.googleapis.com/maps/api/place/nearbysearch/output?parameters
and it should be:
maps.googleapis.com/maps/api/place/nearbysearch/json?parameters
Just a quick observation: the included test to create the "choices" environment variable fails if any of the restaurants returned from Google fail to include the "open_now" field. I was following along, but trying my location and "barbecue" and the test kept failing. It took a StackOverflow request to discover the missing info. I added "open_now" = TRUE in the request headers and everything worked just fine. Just so's you (or anyone else knows). Obvious in hindsight, but really confusing trying to follow along with the tutorial.
My test is also failing when i use "sushi" as the keyword. I'm getting an TypeError: Cannot read property 'open_now' of undefined. Can anybody help me figuring out why this happens? When i use "pizza" as a keyword everything seems fine. That doesn't make sense to me. The JSON response looks the same in both cases. I also tried adding the request header like you said, but no change.
@@bastianhuppertz8116 you can include the `opennow` parameter in your query: stackoverflow.com/a/51393747
The last 3 characters of my twitterID are 216, but for some reason when the test assigns the value it ends in 200 every time. Does anyone know what's going on?
Exactly what I was looking for, thanks.
Nice explanation. This is something which I was searching for
I think it is not clear how you call request B from request A. Where does the chaining actually take place? Does it call all the requests in the collection in order? What if we want to make sync calls from an array in the response to request A so that we get many sync request to request B?
she explained it using variables
Beautiful tutorial! Thanks!
Pretty useful, just started using postman for quick solutions. I felt like the video was a bit rushed.. it might be useful if you slowed down a bit and spent more time on each step. thx
thank you
Real good starting point, thanks alot :)
Great tutorial, Thanks a lot!
I love the intro, outro music and her voice :)
I was searching it. Thanks a lot.
woah
She needs to slow down a bit. Too fast a voice over and actions