cancel
Showing results for 
Search instead for 
Did you mean: 

Allocating more resources to a particular VirtAction in a virtual service for performance testing

rahuldutta
Occasional Contributor

Allocating more resources to a particular VirtAction in a virtual service for performance testing

Hi,

I created a VS to be subjected for load testing. There are a few VirtActions built in but there is only one which is being subjected to most load. Is there a way to allocate more resources to this one virtaction for performance efficiency?

 

Thanks,

Rahul

4 REPLIES 4
MarcusJ
Moderator

Re: Allocating more resources to a particular VirtAction in a virtual service for performance testin

Hi,

 

VirtActions are specific to resource paths to handle requests and responses from a Virt and not server load.  You will need to make a change to the Virt to handle server load by adjusting the server capacity settings for the Virt.  Please see the below link for more details.

 

https://support.smartbear.com/readyapi/docs/virtualization/configure/behavior.html

 

Regards,

Marcus James

SmartBear Support

 



Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
rahuldutta
Occasional Contributor

Re: Allocating more resources to a particular VirtAction in a virtual service for performance testin

Hi,

Thanks for your reply. I have already updated the min and max threads to XL and above in the behavior settings but still the service is unable to scale beyond 250 tps. It is probably because of the complex condition checks in the Dispatch script. Below are my VM configurations, which I believe are sufficient to allow more number of threads.

 

rahuldutta_0-1609795349929.png

 

AlexKaras
Community Hero

Re: Allocating more resources to a particular VirtAction in a virtual service for performance testin

Hi,

 

Out of curiosity: what is the reason to *load test* *virtual* service?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
sonya_m
Community Manager

Re: Allocating more resources to a particular VirtAction in a virtual service for performance testin

Thank you for updating us @rahuldutta ! If the issue still occurs, please create a support ticket, the support team will be able to conduct a deeper investigation. 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements