Opensta-open-source testing tool software

Source: Internet
Author: User
Tags snmp stop script nameserver
Currently, well-known concurrent performance testing tools include rational robot, qaload, LoadRunner, and Microsoft was. Among them, qaload, LoadRunner, and rational robot are all good commercial testing tools (expensive). Microsoft's was is a free testing tool that is easy to use, however, because the recorded test script cannot be displayed or edited, its controllability and graphical test results are weak, which causes some limitations.

Opensta is a free performance testing tool dedicated to the B/S structure. In addition to the Free and Open Source Code advantages, it can also edit the recorded test script according to the specified syntax. After recording the test script, the test engineer only needs to understand the specific syntax knowledge of the script language to edit the test script, this allows you to obtain required parameters when performing a performance test again, and then analyze specific performance indicators. Opensta provides a deep understanding of the principle of Performance Testing in the simplest way. Its rich graphic test results greatly improve the readability of the test report.

Opensta is a structure system based on Common Object Request Broker Architecture (CORBA. It virtualizes a proxy and uses its dedicated script control language to record all HTTP/s traffic through proxy. The test engineer analyzes the performance of the tested system by analyzing the performance indicators collected by the opensta performance indicator collector and HTTP data.

First, what are the components of opensta?
Openstacommander-mainly controls applications; nameserver-CORBA background processor to ensure communication between various components of opensta; (nameserver is automatically installed when opensta is installed, during normal operation, you can see the icon on the right side of the Windows taskbar. If the icon is not running properly or is stopped, it is displayed as a red bancha .)

Second, what is the performance indicator collector (collector )?
This is a user-defined set of issues that determine which performance indicators need to be recorded during the test. There are two types:
1) NT Performance collectors is used to collect performance indicators of hosts running winnt or Win 2000.
2) SNMP collectors is used to collect SNMP data from the host and Other SNMP data running the SNMP agent or the proxy SNMP agent. Collector settings are described in the following recording test script.

Third, how to record the test script?

1. After opensta is installed, three opensta tool programs are displayed in the "program", as shown below:

 

Check that the opensta nameserver status is running, that is, the icon is, Run "opensta commander", the interface is displayed:

2. Recording new scripts

1) Click "scripts" and Right-click "new script"> "HTTP" to generate a new script. The default Script Name Is newscrip (for example ), you can also choose "file"> "new script"> "HTTP" from the menu bar ";

2) double-click the new script (newscript icon), open the script modeler window, and set browser and gateway in the Options menu. In general, keep the default settings of gateway;

 

3) Click the Red Circle button in the toolbar to automatically open the specified browser and enter the system URL to be recorded to display the homepage content of the tested website. After successful login, perform the following steps. After confirming that the recording process is complete, press the box button on the toolbar or exit the browser to stop script recording. Then, the recorded script statement is displayed in the script modeler window.

3. Generate a collector
1) Click "collectors" and Right-click the menu to generate a new indicator collector. The default value is newcollector (you can also use file );

2) browse through browse queries and set the performance indicators to be collected. (Find the meaning of each performance indicator by yourself)

4. Create a test environment

In the same way as above, create a newtest in tests (the new test has been renamed) and drag the test script and performance indicator collector to the test. (Note: drag the icon to Task 1 or task 2;

5. Press the green arrow in the toolbar to perform the test. During the test, you can view the content of the "monitoring" tab. After the test, this tab is blank;

6. After the test is complete, click the results tab under the tool button to display the recorded test result data, as shown in.

So far, I believe you have a general understanding of how to use the opensta test tool. If you need to learn more about the use details, you can refer to the user manual of the tool ). To download the opensta tool, visit the website.Http://www.opensta.org/You can also download the user manual on this website.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.