Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
int |
httpResponseCode |
String |
requestedSessionId |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
Client() |
| Modifier and Type | Method and Description |
|---|---|
String |
getnode() |
String |
getResponse() |
boolean |
getresultok() |
String |
getVirtualHost() |
static void |
main(String[] args) |
void |
run() |
int |
runit() |
int |
runit(String URL,
int nbtest,
boolean checkcookie) |
int |
runit(String URL,
int nbtest,
boolean checkcookie,
boolean checknode) |
int |
runit(String URL,
int nbtest,
boolean checkcookie,
int wait) |
int |
runit(String URL,
int nbtest,
boolean checkcookie,
String post,
String user,
String pass) |
int |
runit(String URL,
int nbtest,
boolean checkcookie,
String post,
String user,
String pass,
File fd) |
int |
runit(String URL,
int nbtest,
boolean checkcookie,
String post,
String user,
String pass,
InputStream fd)
Run the first test.
|
void |
setdelay(int delay) |
void |
setnode(String node) |
void |
setVirtualHost(String VirtualHost) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic int httpResponseCode
public String requestedSessionId
public int runit(String URL, int nbtest, boolean checkcookie, String post, String user, String pass, InputStream fd) throws Exception
URL - URL to connect to.nbtest - number of test the thread will run (not counting this one).checkcookie - check that the jsessionid cookie is not changing during the test.post - data to send in the POST.user - username of the BASIC authentication.pass - password of the usr for the BASIC authentication.fd - file containing the data to send chuncked in the POST (post content is ignored in this case).IOException - for any failures.Exceptionpublic int runit(String URL, int nbtest, boolean checkcookie, String post, String user, String pass, File fd) throws Exception
Exceptionpublic int runit(String URL, int nbtest, boolean checkcookie, String post, String user, String pass) throws Exception
Exceptionpublic int runit(String URL, int nbtest, boolean checkcookie, boolean checknode) throws Exception
Exceptionpublic int runit(String URL, int nbtest, boolean checkcookie) throws Exception
Exceptionpublic int runit(String URL, int nbtest, boolean checkcookie, int wait) throws Exception
Exceptionpublic boolean getresultok()
public void setdelay(int delay)
public void setnode(String node)
public String getnode()
public void setVirtualHost(String VirtualHost)
public String getVirtualHost()
public String getResponse()
Copyright © 2017 JBoss by Red Hat. All rights reserved.