System tests framework in Java [closed]
Asked Answered
S

2

7

Looking for a framework for system testing in java. We have a web application running under tomcat (Spring, Hibernate, etc..) with a well defined API that can be easily exposed as RMI (or any other way).

We want to test this API. The framework should test the running server. The tests will be triggered by Jenkins or will run by the developers or QA Automation.

Most of the tests will be written by the developers, so that we want them to be similar to what they are familiar with (java, all above listed technologies). Performance testing ability is an advantage.

Any success/failure stories or tips will be appreciated.

Surplusage answered 3/3, 2012 at 17:22 Comment(4)
Spring, Hibernate... - why not use Spring integration testing support?Rite
What do you want out of a "framework for system testing" that you can't get out off JUnit/TestNG if you are doing RMI?Epidote
@TomaszNurkiewicz: because that's integration/unit testing and not really system testing on the target platform. In practice this is not an easy nut to crack (in my experience).Unjaundiced
@Epidote it's an option, to use just a "naked" JUnit or TestNGSurplusage
S
1

Fitnesse is an acceptance testing solution. It uses wiki like test input and comparison of HTML tabular data . You may able to tweak for your use. See some info

Sabba answered 3/3, 2012 at 17:48 Comment(1)
I'm more interested in backend testingSurplusage
J
1

If you are just trying to test the API (which I'm assuming is Java code) I would recommend JUnit. It is the standard for unit / integration testing in the Java world. I would also look at a good mocking framework (EasyMock etc.) to see if that would be of use. If you are trying to do functional tests, I would recommend SOAPUI. Both tools will allow you to have test cases written by developers and can be triggered by Jenkins to execute and report test results.

Janessajanet answered 3/3, 2012 at 17:59 Comment(2)
As far as I can see, SOAP UI does not support RMI. Mocking is good for unit testing - in system testing the purpose is to test a real systemSurplusage
You had mentioned that you were able to easily expose your API as "any other way" which in my mind includes web services / http. If you are restricted to RMI, what more are you looking for than what JUnit can provide?Janessajanet

© 2022 - 2024 — McMap. All rights reserved.