(iv)-Performance test tool Curl-loader (Linux)

Source: Internet
Author: User
Tags openssl binaries ftp protocol

Curl-loader Introduction

Curl-loader ( also known as "Omes-nik" and "Davilka") is an open source C language tool that simulates application load and tens of thousands of hundreds of thousands of of people with HTTP/ HTTPS and ftp/ FTPs The behavior of the client application, each with its own source IP address.  Instead, the other curl-loader uses the real C-written client stack, the Libcurl and tls/ OpenSSL SSL http and FTP protocol stacks, which support the login and authentication flavors and tools for simulating user behavior.

So, although the volume is small, but do not underestimate his ability Oh! ^_^ Curl-loader Performance Testing tool has been heard at the beginning of the test, but because its operating environment is a Linux system, so, has not been downloaded to use, now just can take advantage of the opportunity to learn Linux play a bit.

------------------------------------------------------------------------------------------------

-Operating Environment:CentOS 4.8-

-: http://sourceforge.net/projects/curl-loader/files/curl-loader/- -Official configuration document: http://curl-loader.sourceforge.net/index.html---------------------------------------------------------- --------------------------------------- Installation steps:     [email protected] test]#Tar jxvf curl-loader-0.56.rar.bz2  Unzip the file after decompression [email protected] test]#CD curl-loader-0.56 into the catalogue [email protected] curl-loader-0.56]#VI Quick-start Open Quick also get started document here are some tips:
.............
Build it using general C development environment with bash, gcc (3 or 4 series), make, etc on a Linux machine. Building pre-requirements is: 1. OpenSSL binaries; 2. OpenSSL development package with the Include files (on the Debian package Libssl-dev)
............
If you have a Linux system with GCC and OpenSSL environment, the following content can be skipped, no words with me to install. --------------------installing GCC---------------------------------------------------------------------------- FirstThat requires us to run must have GCCEnvironment: Method One if you are Redhat/centos version of Linux, you can run the following command to download the installation [email protected] test]#Yum install gcc gcc-c++ download install C compiler
Method Two
RPM installation If the system disk is installed, you can insert the installation CD, run the following command (virtual machine refer to the way to insert the installation file):
[email protected] test]# RPM-IVH gcc*
---------------------------- Installing OpenSSL------------------------------------------------------------------------------------ SecondThat requires us to run the need to install OpenSSLPackage [email protected] curl-loader-0.56]#Rpm-qa |    grep SSL to see if you have the OpenSSL service installed. Method download the corresponding service and install (the method is cumbersome, here to link) Downloads: http://download.chinaunix.net/download/0001000/11.shtml Installation Method: http://myswirl.blog.163.com/blog/static/513186422007101410149578/Method two above way more troublesome, the simplest way to DVD/CD mode to insert system disk, and then in the system disk/centos/rpms/directory found: openssl-0.9.7a-43.17.el4_7.2.rpm openssl-devel-0.9.7a-43.17.el4_7.2.rpm two RPM package, double click Install reboot is OK.  Of course, you can also refer to the method of installing GCC by command installation
[ email protected] test]# RPM-IVH  [file name]
--------------------------------------------------------------------------------------------------------------- ----------------------------------the prerequisite environment is met, the following command begins to install.
[email protected] test]#Make automatic compilation after the completion of the Curl-loader executable program, Curl-loader gives us some examples, we first look at the example of how to configure performance options [email protected] curl-loader-0.56]#CD Conf-examples/Play Example catalogue [email protected] conf-examples]#CP 10k.conf mysimp.conf Copies the 10k.conf file to the current directory and is named mysimp.conf [email protected] conf-examples]#VI mysimp.conf Open Edit mysimp.confFile
########### General Section ################################ batch_name= 10K//test Object name clients_num_max=10000//maximum number of virtual users clients_num_start=100//start-up users    ########### URL Section #################################### url=http://localhost/index.html         //url#url=http://localhost/ace-install.html url_short_name= to be tested    " Local-index "request_type=gettimer_url_completion = # in msec. When positive, now it's enforced by cancelling URL fetch on timeouttimer_after_url_sleep =20
Save exit after configuration is complete for the above content performing a performance test  Execute the following command to start running our performance test. [email protected] curl-loader-0.56]#Curl-loader-f./conf-examples/mysimp.conf

During the run of the test, the information above is constantly updated (refreshed). The environment finally ran through. We will learn more about the specific use of curl-loader later.

(iv)-Performance test tool Curl-loader (Linux)

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.