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.82k stars 838 forks source link

Failed to run performance test #12608

Closed thachun closed 2 months ago

thachun commented 8 months ago

Is there an existing issue for this?

Describe the Issue

I am trying to run the performance test on a collection but unfortunately I got an error saying: "Failed to start run Postman encountered an error due to which the run could not be started. Please try again." image

Is there any version working that I could downgrade?

Thanks!

Steps To Reproduce

  1. Just run a performance test on a collection and see a popup error message at the right corner.

Screenshots or Videos

No response

Operating System

Windows

Postman Version

10.22.9

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

nikithaachhini23 commented 3 months ago

Hey folks, we've fixed the issue and as promised rolled out a canary build. Please download the app as per your platform choice and let us know.

~~ ~~Here's the link - https://www.postman.com/downloads/canary/ On scrolling down in this page, you'll find canary builds for different OS platforms.~~ ~~

Thanks for your patience. We'll rollout this fix as part of v11.3 in our mainline app.

Update: v11.3 is out and instead of using canary link please use https://www.postman.com/downloads/

seifeddine55 commented 3 months ago

@nikithaachhini23 ,still having the same error using postman

Screenshot_20240624_112134_Teams.jpg

Screenshot_20240624_112832_Teams.jpg

nikithaachhini23 commented 3 months ago

@seifeddine55 Could you please share the recording? Also, can you run below two commands individually in your cmd prompt and share the screenshot?

powershell -Command "(Get-CimInstance -ClassName Win32_OperatingSystem).FreePhysicalMemory"

powershell -Command "(Get-WmiObject -Class Win32_OperatingSystem).FreePhysicalMemory"

If you're trying to open a previous run which failed to start - that run report would continue to show that way as it failed previously and is an expected behaviour.

seifeddine55 commented 3 months ago

@nikithaachhini23 image

GIF 24-06-2024 12-22-12

nikithaachhini23 commented 3 months ago

@seifeddine55 Isn't the retry working? Could you please provide the application logs? You can refer this link to provide the zipped logs. Please delete the existing logs first -> relaunch the app -> trigger the performance test -> zip the logs and send us

Thanks!

seifeddine55 commented 3 months ago

hi @nikithaachhini23 , i'm having a fragment of the graph when the tests are running , Any thoughts

Capture d’écran 2024-06-25 102516

postfrzero commented 3 months ago

Hey @seifeddine55, it looks like this could be a different issue. Would you mind getting in touch with us at help@postman.com? This will allow us to get application logs and other specific information which can help us zero in on what's going on without worrying about anything in the log contents becoming public, etc.

ilyassCH commented 3 months ago

Hi All,

I need to perform the performance testing, but I have the same error : image

Here is my Postman version: image

Here is the result of executing the two commands : image

Feel free to ask any other needed information.

Thanks,

Ilyass

issamansur commented 3 months ago

@ilyassCH, try use this https://www.postman.com/downloads/canary/

ilyassCH commented 3 months ago

Hi @issamansur thank you for your suggestion, but I still have the same error : image

Postman canary version: image

When I am allowed to run the performance test, I see this screen a few seconds after clicking the run button:

image

Thanks,

issamansur commented 3 months ago

Interesting, last version canary works for me, but it doesn't work for u. So.. wait for answer from developers :(

ilyassCH commented 3 months ago

Hi @nikithaachhini23 , Hi @postfrzero ,

I'm still experiencing issues running the performance test and encountering the same error messages:

Could you please assist me with this? May I share my Postman logs with you for further investigation?

Thank you,

Ilyass

nikithaachhini23 commented 3 months ago

@ilyassCH Apologies for the delay in responding. This seems like a cache issue. Could you please provide us the application logs as described here (or) get in touch with us at help@postman.com?

ilyassCH commented 3 months ago

Hi @nikithaachhini23 Thank you for your response,

Here is the zipped Postman logs.

Thank you,

Ilyass

[Uploading logs.zip…]()

nikithaachhini23 commented 3 months ago

@ilyassCH The link you've provided doesn't have logs. It references to the current support thread. Could you please cross check and send?

ilyassCH commented 3 months ago

@ilyassCH The link you've provided doesn't have logs. It references to the current support thread. Could you please cross check and send?

Sorry, here is the well uploaded postman logs :

postman_logs.zip

nikithaachhini23 commented 3 months ago

Hi @ilyassCH The logs you've provided point to our mainline prod app v11.2 and this issue would exist as the fix will go as part of v11.3. We validated that the issue you're facing on canary is because of cache.

I'd request you to follow the below steps:

  1. Force quit all open instances of the Postman Desktop app.
  2. Uninstall the postman canary app you have on your machine.
  3. Open File explorer on windows and paste below ones in the path field:

    C:\Users\<user>\AppData\Local\PostmanCanary C:\Users\<user>\AppData\Roaming\PostmanCanary

    By providing your username in <user>, you'll find the canary folders in the above 2 paths. Delete these folders to get rid of any local data (ref)

    1. Do a fresh install of canary using https://www.postman.com/downloads/canary/
    2. Try running a performance test and verify if issue is fixed

In case, you encounter any issue with the above steps please reach out to us via help@postman.com we'll assist you further.

ilyassCH commented 3 months ago

Hello @nikithaachhini23 ,

Thank you very much for your help, it works great for me.

I am looking forward to v11.3!

Best regards,
Ilyass

ShiroWong commented 3 months ago

Hi @ilyassCH The logs you've provided point to our mainline prod app v11.2 and this issue would exist as the fix will go as part of v11.3. We validated that the issue you're facing on canary is because of cache.

I'd request you to follow the below steps:

  1. Force quit all open instances of the Postman Desktop app.
  2. Uninstall the postman canary app you have on your machine.
  3. Open File explorer on windows and paste below ones in the path field: C:\Users\<user>\AppData\Local\PostmanCanary C:\Users\<user>\AppData\Roaming\PostmanCanary By providing your username in <user>, you'll find the canary folders in the above 2 paths. Delete these folders to get rid of any local data (ref)
  4. Do a fresh install of canary using https://www.postman.com/downloads/canary/
  5. Try running a performance test and verify if issue is fixed

In case, you encounter any issue with the above steps please reach out to us via help@postman.com we'll assist you further.

This works for me. Thanks

teamolhuang commented 2 months ago

Having this issue on 11.2, I poked around and found a 11.3.0 in appdata local. I started postman through that and it says it updated to 11.3.0, and the error went away for me.

nikithaachhini23 commented 2 months ago

Hello folks, issue is fixed in v11.3 and is available on https://www.postman.com/downloads/ to download as per your platform choice. Updated the previous canary link with this one.

postfrzero commented 2 months ago

Thanks for your patience here folks! I'm closing this issue now, though of course we'll keep an eye out for comments.