Wednesday, October 8, 2014

Load and Scalability Testing of Web Services

Load and performance testing of services are critical part of SOA integration but given less importance in most of the projects. Oracle SOA EM console has capability to perform basic stress testing where number of thread and other parameters can be configured. But when it comes to testing with large xml messages or monitoring the load test, a need of separate testing tool arises.

Many good web service testing tools are available in the market and some of them are free as well. I personally like soapUI for load testing as it easy to use, has predefined test strategies and most importantly available free. Recently I got involved in a performance testing of a service with large xml payload, as big as 60MB. I tried copying the 60MB payload and pasting it in soapUI but it stopped working. I left with no other option but to look for other simple testing tool that can support large xml payloads and quick to use. I wish soapUI had given a feature to read the payload from the file.

While hunting for such testing tool I came across "WebInject" tool that has a pretty basic UI but supports large xml payload as well. Its easy to use and configure and you can be ready with your test case in few minutes.






Just write your test case in xml file as shown below and add your test case to config.xml. Done !

<testcases repeat="1">
<case
    id="1"
    description1="Testing big invoice with 4K lines"   
    method="post"
    posttype="text/xml"
    url="http://server.host.com:8001/soa-infra/services/default/Orchestration/Report_ep"
    postbody="file=>BigInvFromITM.xml"   
/>

</testcases>

Demystifying OIC, OCI and Oracle SOA CS

What is OIC (Oracle integration cloud), OCI (Oracle cloud infrastructure), and SOA cloud service and how they are different? - This has bee...