Strategy to use Wiremock for Performance Testing

59 views
Skip to first unread message

Ritu Arora

unread,
Jan 14, 2021, 2:55:34 PM1/14/21
to wiremock-user
Hello Wiremock users-

We have service virtualization tool “CA DevTest/Broadcom Service Virtualization” and analyzing Wiremock to switch on to. Hence couple of basic questions –

1.      

WhWhat is the best way or the strategy to use Wiremock for Performance Testing? We have around 70 services running 24*7 for load test and would like to run these with Wiremock in same fashion- 24*7. They are running on different port and some are data driven too.

a)      Can I run Wiremock as a windows service on a server which will keep running?

b)     How can I run services on different port? Do I need to invoke Wiremock instance for each service in order to run the service on particular port?

c)      These services are for load test and the transaction count on our server for Dec month is 2,219,8016. How can we judge the value of --container-threads for the load we are running?



I read all the threads related to Performance Testing and learnt that we need to use following setting if we run load test with Wiremock-


java -jar C:\WireMock\wiremock-standalone-2.27.0.jar --async-response-enabled true --async-response-threads=50 --no-request-journal --disable-request-logging --container-threads 200


I ran a simple load test with above settings for 1 api, it went fine.


I don’t know what the significance of “java -Xms256m -Xmx6048m” and how it helps in load test.


Appreciate your guidance.


Regards,

Ritu

Ritu Arora

unread,
Jan 15, 2021, 12:10:14 PM1/15/21
to wiremock-user
Hi All- Appreciate any inputs.

Regards,
Ritu

Reply all
Reply to author
Forward
0 new messages