I
I
Ivan Velichko2012-08-27 15:09:43
PHP
Ivan Velichko, 2012-08-27 15:09:43

Can you tell me a tool for testing a web application?

Good day!
There is a non-trivial web application (not a website, just some web service that returns XML in response to various requests) that actively interacts with a database (MySQL InnoDB). To test the scenarios of its work, a sufficient number of functional tests have been written using the following scheme: a regular PHPUnit unit test is written, which fills the start data into the database, then in the same test, using some object that emulates the behavior of the client of our service, various requests are made to to a test host that works with a base warmed up by the current "unit test". After the script finishes execution, the final state of the database is checked. With this bike, the main ways to use the service are tested. As it is not difficult to guess the correctness of the service is checked only when working with one client at one time. In real life, obviously, there are a lot of simultaneous client requests.
Question : are there ready-made solutions for checking the correctness of the web service with many simultaneous requests that can check exactly the state of the database (i.e., you are not interested in load testing, but testing the ability of the service to maintain the state of the data in the database without violating the integrity and consistency of this very data ).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ks_ks, 2012-08-27
@Ostrovski

selenium, spynner, casperjs, phantomjs.

A
Alexey Sundukov, 2012-08-28
@alekciy

> and testing the service's ability to maintain the state of the data in the database without violating
> the integrity and consistency of these same data

(R) DBMS that cannot ensure data integrity cannot be considered a (R) DBMS. Actually, this is the point of such systems, they provide an infrastructure for ensuring the integrity and control of data integrity.
Therefore, the (R)DBMS itself does not need to be checked in this aspect, but it is necessary to check your application (that is, how correctly / effectively you used the provided opportunities). And in this context, we get exactly load testing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question