1. Esau Redwan
  2. PowerServer
  3. Wednesday, 24 July 2024 02:13 AM UTC

Hi All,

 

Looking through all the documentation for load testing a PowerServer app, it only shows a way to test them locally. How would I approach testing a PowerServer app that runs on Azure? Do I need to do the recording on Jmeter locally first then I can target the Azure PowerServer?
We need to test the load to see how Azure will handle the loads that we expect and optimize accordingly after seeing the data. However, there is no documentation about load testing PowerServer apps on Azure. 

What do you guys think? Thank you!

Angie Liu@Appeon Accepted Answer Pending Moderation
  1. Thursday, 25 July 2024 07:09 AM UTC
  2. PowerServer
  3. # 1

Hi Esau,

The document is just an example. You only need to refer to the document to deploy the PowerServer application to the cloud environment. Once your environment for load testing can access the PowerServer application normally, you can write your load testing scripts in your load testing environment.

https://docs.appeon.com/ps2022r3/Configure_and_deploy_the_PowerServer_project.html

Please note that during deployment, you need to modify the RunMode configuration item mentioned in the following link and be aware of the existing security risks.

https://docs.appeon.com/ps2022r3/Running_the_Application_in_Test_Mode.html#Why_test_mode_is_required_for_LoadRunner

If you encounter any issues during this process, we recommend that you submit a ticket. Our professional technical support team will assist you with your issues

 

Regards,

Angie

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 24 July 2024 15:28 PM UTC
  2. PowerServer
  3. # 2

Hi Esau;

  FWIW: I would setup up jMeter on your development PC to run both PS and the associated PS App(s) so that jMeter can record all the test cases that you need to run. That also includes tweaking the jMeter scripts for concurrent loading as well.

  Once the basic jMeter tests are running on the development machine OK, I would then create a clean Azure workspace & transfer (install) PS, PS App(s), DBMS, and jMeter, etc on that *same* Azure instance. That way, there should be little of any network latency. Thus when you are running the jMeter tests against the PS App(s), you would be getting the "best case scenario" if no network latency were encountered. From there, you should be able to estimate what the PS App(s) will actually perform like with the PS App(s) installed on an actual user's PC / VM.

  Note that you would *not* be able to run much of a jMeter "load test" with the PS server from the developers machine as the PS License from that environment would only support 5 PB concurrent users. So you would need to change up the PS license to support the number of concurrent users that jMeter is trying to emulate.

HTH

Regards .. Chris

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 24 July 2024 03:46 AM UTC
  2. PowerServer
  3. # 3

I don't see why you can't use LoadRunner or JMeter to do the test on Azure?  https://docs.appeon.com/ps2022r3/Load_Testing.html

The only thing is it would be ideal you setup the testing tool locally in Azure (for example on a virtual desktop) so it has direction connection to avoid network latency and connectivity issues.

Comment
  1. Esau Redwan
  2. Wednesday, 24 July 2024 04:11 AM UTC
HI Ameen, I've read all of that documentation as I mentioned in my original post. The documentation says to run JMeter with the PowerServer app running locally in a development environment. Our scenario is that we want to run the load test as it would be in production which is the user PC's connecting to the Azure PowerServer VMs.

How would running a load test on the same server where the PowerServer is hosted (on Azure) be accurate if it has to run JMeter as well?

That defeats the purpose of an actual load test because its not accurate or as close to production as possible.

Also, wouldnt I need to install PowerBuilder on the server to run the test as explained in the documentation to run the WEB API console?
  1. Helpful
  1. Esau Redwan
  2. Wednesday, 24 July 2024 04:19 AM UTC
Im sorry let me clarify further. Im on the part where I want to record the script. How do I record the script for when the app is on Azure. Do I record using a local PowerServer instance on my dev PC first then I can use the recording to target the Azure PowerServer?
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.