tsung1 4 2使用(1) HTTP協議測試

2021-08-26 19:21:31 字數 1298 閱讀 8587

1.安裝erlang

tar zvxf otp_src_r15b.tar.gz

cd otp_src_r15b

./configure

make

make install

2.安裝tsung

tar zvxf tsung-1.4.2.tar.gz

./configure

make

make install

3.安裝perl的template

tar zvxf template-toolkit-2.24.tar.gz

perl makefile.pl

make

make test

make install

4.安裝gnuplot

yum install gnuplot

yum install gd

yum install libpng

yum install zlib

5.確定gnuplot支援png

命令列輸入:gnuplot

gnuplot> set terminal

確認支援png,png  png images using libgd and truetype fonts

6.執行簡單指令碼

輸出:starting tsung

"log directory is: /root/.tsung/log/20120329-2234"

待執行完畢, cd /root/.tsung/log/20120329-2234

/usr/local/lib/tsung/bin/tsung_stats.pl 生成報表圖形

python -m ******httpserver  使用python建立乙個簡單的httpserver,開啟埠8000,在本地瀏覽器輸入http://yourserver:8000

HTTP協議1 HTTP簡介

http協議是hyper text transfer protocol 超文字傳輸協議 的縮寫,是用於從全球資訊網 www world wide web 伺服器傳輸超文字到本地瀏覽器的傳送協議。http是乙個基於tcp ip通訊協議來傳遞資料 html 檔案,檔案,查詢結果等 http協議工作於客戶...

HTTP協議基礎 1 HTTP簡介

進行介面測試的前提就是要熟悉http協議 何為http協議 hypertext transfer protocol,超文字傳輸協議 所謂協議,就是指雙方遵循的規範。http協議,就是瀏覽器和伺服器之間進行 溝通 的一種規範。我們在看空間,刷微博 都是在使用http協議,當然,遠遠不止這些應用。筆者一...

1 HTTP監控工具httpry

httpry捕獲http資料報,並且將http協議層的資料內容以可讀形式列舉出來。注意需要libpcap devel安裝包 使用 httpry基本用法 儲存到二進位制檔案中 重放 httpry r output.dump httpry高階用法 如果你要捕獲特定的http方法,如get post pu...