25.07.2014 Views

Analysis and Testing of Ajax-based Single-page Web Applications

Analysis and Testing of Ajax-based Single-page Web Applications

Analysis and Testing of Ajax-based Single-page Web Applications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 4.5 Design <strong>of</strong> the Distributed Automated <strong>Testing</strong> Framework CHIRON<br />

Unfortunately, distributed systems are inherently more difficult to design,<br />

program, <strong>and</strong> test than sequential systems (Alager <strong>and</strong> Venkatsean, 1993).<br />

They consist <strong>of</strong> a varying number <strong>of</strong> processes executing in parallel. A process<br />

may also update its variables independently or in response to the actions<br />

<strong>of</strong> another process. <strong>Testing</strong> distributed programs is a challenging task<br />

<strong>of</strong> great significance. Controllability, observability (Chen et al., 2006), <strong>and</strong> reproducibility<br />

problems might occur in distributed testing environments. In<br />

this section we will present our distributed, automated testing framework<br />

called Chiron <strong>and</strong> how it helps to decrease the magnitude <strong>of</strong> these problems.<br />

We have released our testing framework under an open source license.<br />

More information about Chiron can be obtained from the following URL:<br />

http://spci.st.ewi.tudelft.nl/chiron/<br />

4.5.1 The Chiron Distributed <strong>Testing</strong> Framework<br />

As mentioned in Section 4.4.3, we defined several independent variables in<br />

order to measure several dependent variables (see Section 4.4.4). The combination<br />

<strong>of</strong> the independent variables (i.e. pull intervals, publish intervals, <strong>and</strong><br />

the number <strong>of</strong> users) is huge <strong>and</strong> that makes performing the tests manually<br />

an error-prone, <strong>and</strong> time consuming task.<br />

In addition, the tools <strong>and</strong> components we use are located in different machines<br />

to simulate real-world environments. This distributed nature con-<br />

86 4.5. Distributed <strong>Testing</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!