TPC-W client deployment

Source: Internet
Author: User
1 download client:

Http://www.cs.virginia.edu /~ Th8k/downloads/

Or:

Http://download.csdn.net/detail/pty_2007/4981743

Note that this client is used with the server of NYU. Va.

2. decompress the client

Decompress the client to the/usr/local directory. My software is installed in this directory. Decompress the folder tpcw-Ultraviolet-client. This folder contains files:

Build build. xml copyright Dist matlab rbe readme

The build. xml file is the configuration file used by ant, And the RBE folder contains the Java source code. We need to compile the source code.

3. Compile the client

First, make sure that ant is usable. Install ant first and add the ant path to the path environment variable.

Then CD to the tpcw-Ultraviolet-client folder and execute the ant command to start the build project.

The build result is as follows:

Root @ Ubuntu:/usr/local/tpcw-ultraviolet A-Client # ant

Buildfile:/usr/local/tpcw-Ultraviolet-Client/build. xml

Init:

Compile_rbe:

[Javac]/usr/local/tpcw-Ultraviolet-Client/build. xml: 45: Warning: 'includeantruntime' was not
Set, defaulting to build. sysclasspath = last; set to false forrepeatable builds

Compile_all:

Jar_rbe:

Dist:

Buildsuccessful

Totaltime: 0 seconds

OK. The compilation is complete. Then, run cd in the build folder and run the following command:

Javarbe. RBE-eb rbe. ebtpcw2factory 20-out run402.m-maxerror 0-Ru 100-mi 100-RD 1-Cust 100-Custa 800-item 1000-wwwhttp: // 127.0.0.1/

In this way, the system is tested. Ebtpcw2factory is the test scenario parameter for the TPC-W, which represents shopping (80% W20 % R) and broswering and ordering. The formation values are ebtpcw1factory and ebtpcw3factory.
Ebtpcw2factory is followed by 20 EB numbers, that is, 20 concurrent browsers at the same time. Run402.m is the name of the output document of the test result. -The WWW parameter is the prefix of the TPC-W server access address. My TPC-W access address is http: // 127.0.0.1/tpcw/home, so the WWW parameter is configured with http: // 127.0.0.1 /.

4. Summary

Compared with server deployment, client deployment is very simple. Here I have to install the server and client on the same computer. So Ant software is shared.

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.