Sneak peek at Test On Demand in soapUI 4.5
As you know, the soapUI 4.5 release is approaching with a bunch of new cool features, and one of these is what we call Test On Demand. This basically means running your soapUI tests in the cloud. Now thanks to our colleagues from the AlertSite team at SmartBear you don't have to worry about the cloud stuff as their monitoring service takes care of the infrastructure, so you can focus on the testing.
Why do you want to run your tests in the cloud? Well, let's say that you're testing your public API from your local machine using soapUI. Wouldn't it be interesting to also know how the tests would behave if they were run from another continent? And wouldn't it be nice if you could get the results in a nicely formatted report? Well, this is what Test On Demand can provide, the real end-to-end test perspective.
So how does it work in practice? I'll show you, but remember that this is bleeding edge stuff and it could change a bit in functionally before the final release.
With that in mind, here's how it will work:
1. Double-click the TestCase you want to run on demand. Initially we'll keep it simple and won't support external dependencies such as Excel files and JDBC connections.
Also the service or resource you're testing should be accessible from the Internet. Don't worry though, soapUI will tell you if your project is good to go before uploading it.
2. Now take a look at this new Test On Demand tab. You want to click it right? Let's do that.
3. Here we're able to choose a location from where you want to run your TestCase. Let's go for the capital of the United States.
4. If we now hit the Run button our TestCase will be uploaded to a Washington server and the web services test will be run from there.
5. After the TestCase has been uploaded we'll see it run on the server and finally we're presented with a report of the outcome of the test and that also includes all of the detailed performance metrics.
Hmm, well maybe not that pretty at the moment since the report page is still under development, but when this is done you'll be able to get a neat report containing all the results you are used to seeing in the TestCase Log along with some new interesting metrics such as time to first byte and DNS time.
So, after this short peek I hope you’ll be even more excited about the upcoming release. Now if you’ll excuse me I need to get back to coding the last things of this cool new feature.
You can find me on Twitter, Google+, LinkedIn or erik.r.yverling.se