-------------------------------------------------------------------------------
/****************************************************************
Program: TestServer.java
Description: send requests in multiple threads to server to test
its responses delayance
Author: ariesram
Date: Aug 23, 2001
Usage: java TestServer file1 file2 ...
file format:
URL=[Full URL of form]
METHOD=GET|POST|...
key1=value1
key2=value2
and so on ...
****************************************************************/
import java.io.*;
import java.lang.reflect.Array;
import java.net.*;
import java.util.*;
public class TestServer {
static int loopTimes = 500;
public Parameter readFromArgFile(String str){
FileInputStream fileInput;
BufferedReader br;
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/