public class Session extends BZAObject
| Constructor and Description |
|---|
Session(HttpUtils httpUtils,
String id,
String name,
String userId,
String testId,
String signature) |
| Modifier and Type | Method and Description |
|---|---|
static Session |
fromJSON(HttpUtils httpUtils,
String testId,
String signature,
net.sf.json.JSONObject session) |
String |
getSignature() |
String |
getTestId() |
String |
getUserId() |
net.sf.json.JSONObject |
sendData(net.sf.json.JSONObject data)
Send test json data for the report
|
void |
stop()
Stop session for user token
|
void |
stopAnonymous()
Stop anonymous session
|
getHttpUtils, getId, getName, setHttpUtils, setId, setNamepublic net.sf.json.JSONObject sendData(net.sf.json.JSONObject data)
throws IOException
IOExceptionpublic void stop()
throws IOException
IOExceptionpublic void stopAnonymous()
throws IOException
IOExceptionpublic String getUserId()
public String getTestId()
public String getSignature()
Copyright © 2017. All rights reserved.