cancel
Showing results for 
Search instead for 
Did you mean: 

Stress test for my web services

srm
Champ in-the-making
Champ in-the-making
Hi All, I am a new bee to Alfresco. We have some existing web services that I wanted to do some stress testing.  I want to call these Rest services from a POJO. Did anybody called the REST services from a POJO? or what is the best way to do the stress testing. The idea is to spawn a few threads to create, retrive and update the documents. Any help is greatly appreciated.
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
There are may frameworks out there that will do all the control for you. 

Many people start with jMeter.

Typically you will just write a jUnit test or equivalent and then the testing framework will deal with running those tests.
As you get more involved there can be problems producing sufficient test load and collating results, but that's for advanced cases


At the moment Alfresco is moving to use WebDrone for web performance testing.  (I think)

srm
Champ in-the-making
Champ in-the-making
Roger, thank you. I have a follow up question. Is there a smaple junit code calling a REST Service that you or anybody wanted to share?