postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.84k stars 839 forks source link

Application crashes/ quits itself running collections via Runner #6602

Closed Raj-postman closed 5 years ago

Raj-postman commented 5 years ago

Describe the bug Postman quits itself when the collections are run through the collection runner. The requests within the collections are lesser than 10.

To Reproduce Steps to reproduce the behavior:

  1. Run particular collection via collection runner ( requests < 10 )
  2. Number of iteration is 5
  3. After running for some time, the app crashes on its own

Expected behavior Be able to run collections from collection runner for any number of requests/ iterations

App information:

Additional context Similar issue for more than 1k requests: https://github.com/postmanlabs/postman-app-support/issues/6525

pareekkhushboo77 commented 5 years ago

Describe the bug Postman quits itself when executing any API for a specific collection only. There are 123 requests in that particular collection.

To Reproduce Steps to reproduce the behavior: Pressing "Send" after selecting any API from the collection. the postman quits.

App information:

App Type - Native App Postman Version - v7.1.1 OS - mac 10.14.3

Additional context: Works okay with order requests from other collection. Also, attached network/console logs from current view and shared view. Screenshot 2019-05-28 at 12 31 30 PM Screenshot 2019-05-28 at 12 53 22 PM Screenshot 2019-05-28 at 12 53 34 PM Screenshot 2019-05-28 at 12 53 50 PM

saswatds commented 5 years ago

Hello @pareekkhushboo77 can you confirm that your issue is with runner and not the request builder? There is a possibility that your issue could be related to https://github.com/postmanlabs/postman-app-support/issues/6533

pareekkhushboo77 commented 5 years ago

Hello @saswatds , Issue is not with runner, just simply POST requests calls.

saswatds commented 5 years ago

Hi @Kurmavathar, we are aggressively tracking such performance issue across all components of postman. There is a lot of possible reason why this could be happening.

It would be great if you could help us investigate this issue. Here are a few things that could help us.

We would be able to replicate this issue faster and come to a better RCA.

Thanks

pareekkhushboo77 commented 5 years ago

Hi @saswatds , in order to get you required info to replicate the issue asap , can you please guide how to get logs from postman console. What are is the possible response size that you might be receiving? (aggregate)

well i found something, when i executed an API with merely any response hosted on different server, it executed properly, but the issue belonging API server is hosted in Russia. Also i tested on another machine, the API worked well in Postman, just the Postman crashes in my machine. Thats also weird as i have been using these API since 1+ year and this issue began 1 week back.

What are kind of auth feature being used?

nothing

Does any of your api's involve uploading files, if yes what is the approximate size?

No

What kind of hardware specification you are using, specifically the RAM?

16 GB

saswatds commented 5 years ago

Hi @pareekkhushboo77 this particular issue is for the crashing of the runner and not request builder. Leveraging this issue to discuss the request builder is leading to a bit of confusion.

You can find the postman console by going to View -> Show Postman Console

There is another issue that we are tracing in the request builder where entering an invalid url in the editor is crashing the app. If your issue is similar to it, you can add a thumbs up to https://github.com/postmanlabs/postman-app-support/issues/6533 and continue the conversation there.

Thanks

pareekkhushboo77 commented 5 years ago

Hi @saswatds , i am sure that the URL is correct, as it works in any other machine's Postman but mine, Also i have been working on it since more than 1 year, so i suppose that not the issue. Also, Postman Console doesn't show anything , please view attached screenshot. Screenshot 2019-05-29 at 3 15 58 PM

Thanks

pareekkhushboo77 commented 5 years ago

Hi ,

The issue is fixed, not sure how - but i guess its related to number of requests limits, as the new month began i tried to make the API calls again and they worked.

Also, please also check if your using environments, remove them and just try with direct urls.

Thanks for regular support by the team :)

Raj-postman commented 5 years ago

@pareekkhushboo77 Sure, we will continue tracking this further on https://github.com/postmanlabs/postman-app-support/issues/6525