Package | Description |
---|---|
com.intuit.wasabi.tests.library | |
com.intuit.wasabi.tests.model | |
com.intuit.wasabi.tests.model.factory |
Modifier and Type | Method and Description |
---|---|
Assignment |
TestBase.getAssignment(Experiment experiment,
User user)
Sends a GET request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.getAssignment(Experiment experiment,
User user,
String context)
Sends a GET request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.getAssignment(Experiment experiment,
User user,
String context,
boolean createAssignment)
Sends a GET request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.getAssignment(Experiment experiment,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent)
Sends a GET request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.getAssignment(Experiment experiment,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent,
int expectedStatus)
Sends a GET request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.getAssignment(Experiment experiment,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a GET request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.postAssignment(Experiment experiment,
User user)
Sends a POST request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.postAssignment(Experiment experiment,
User user,
String context)
Sends a POST request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.postAssignment(Experiment experiment,
User user,
String context,
boolean createAssignment)
Sends a POST request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.postAssignment(Experiment experiment,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent)
Sends a POST request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.postAssignment(Experiment experiment,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent,
Map<String,Object> profile)
Sends a POST request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.postAssignment(Experiment experiment,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent,
Map<String,Object> profile,
int expectedStatus)
Sends a POST request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.postAssignment(Experiment experiment,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent,
Map<String,Object> profile,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a POST request to get the assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
boolean useAssignmentContext)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
boolean useAssignmentContext,
int expectedStatus)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
boolean useAssignmentContext,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
String context)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
String context,
int expectedStatus)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
String context,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a PUT request to update an assignment of the user for the experiment.
|
Modifier and Type | Method and Description |
---|---|
List<Assignment> |
TestBase.getAssignments(Application application,
Page page,
User user)
Sends a GET request to assign the user to the experiments of the application's page if
createAssignment
is true. |
List<Assignment> |
TestBase.getAssignments(Application application,
Page page,
User user,
String context)
Sends a GET request to assign the user to the experiments of the application's page if
createAssignment
is true. |
List<Assignment> |
TestBase.getAssignments(Application application,
Page page,
User user,
String context,
boolean createAssignment)
Sends a GET request to assign the user to the experiments of the application's page if
createAssignment
is true. |
List<Assignment> |
TestBase.getAssignments(Application application,
Page page,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent)
Sends a GET request to assign the user to the experiments of the application's page if
createAssignment
is true. |
List<Assignment> |
TestBase.getAssignments(Application application,
Page page,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent,
int expectedStatus)
Sends a GET request to assign the user to the experiments of the application's page if
createAssignment
is true. |
List<Assignment> |
TestBase.getAssignments(Application application,
Page page,
User user,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a GET request to assign the user to the experiments of the application's page if
createAssignment
is true. |
List<Assignment> |
TestBase.getAssignments(Experiment experiment)
Sends a GET request to retrieve the experiment's assignments.
|
List<Assignment> |
TestBase.getAssignments(Experiment experiment,
int expectedStatus)
Sends a GET request to retrieve the experiment's assignments.
|
List<Assignment> |
TestBase.getAssignments(Experiment experiment,
String context)
Sends a GET request to retrieve the experiment's assignments.
|
List<Assignment> |
TestBase.getAssignments(Experiment experiment,
String context,
int expectedStatus)
Sends a GET request to retrieve the experiment's assignments.
|
List<Assignment> |
TestBase.getAssignments(Experiment experiment,
String context,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a GET request to retrieve the experiment's assignments.
|
List<Assignment> |
TestBase.postAssignments(Application application,
Page page,
User user)
Sends a POST request to assign a user to experiments of the specified page.
|
List<Assignment> |
TestBase.postAssignments(Application application,
Page page,
User user,
Map<String,Object> segmentationProfile)
Sends a POST request to assign a user to experiments of the specified page.
|
List<Assignment> |
TestBase.postAssignments(Application application,
Page page,
User user,
Map<String,Object> segmentationProfile,
String context)
Sends a POST request to assign a user to experiments of the specified page.
|
List<Assignment> |
TestBase.postAssignments(Application application,
Page page,
User user,
Map<String,Object> segmentationProfile,
String context,
boolean createAssignment)
Sends a POST request to assign a user to experiments of the specified page.
|
List<Assignment> |
TestBase.postAssignments(Application application,
Page page,
User user,
Map<String,Object> segmentationProfile,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent)
Sends a POST request to assign a user to experiments of the specified page.
|
List<Assignment> |
TestBase.postAssignments(Application application,
Page page,
User user,
Map<String,Object> segmentationProfile,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent,
int expectedStatus)
Sends a POST request to assign a user to experiments of the specified page.
|
List<Assignment> |
TestBase.postAssignments(Application application,
Page page,
User user,
Map<String,Object> segmentationProfile,
String context,
boolean createAssignment,
boolean ignoreSamplingPercent,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a POST request to assign a user to experiments of the specified page.
|
List<Assignment> |
TestBase.postAssignments(Application application,
User user,
List<Experiment> experiments)
Sends a POST request to assign the user to the experiments of the application if
create is true. |
List<Assignment> |
TestBase.postAssignments(Application application,
User user,
List<Experiment> experiments,
String context)
Sends a POST request to assign the user to the experiments of the application if
create is true. |
List<Assignment> |
TestBase.postAssignments(Application application,
User user,
List<Experiment> experiments,
String context,
boolean create)
Sends a POST request to assign the user to the experiments of the application if
create is true. |
List<Assignment> |
TestBase.postAssignments(Application application,
User user,
List<Experiment> experiments,
String context,
boolean create,
int expectedStatus)
Sends a POST request to assign the user to the experiments of the application if
create is true. |
List<Assignment> |
TestBase.postAssignments(Application application,
User user,
List<Experiment> experiments,
String context,
boolean create,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a POST request to assign the user to the experiments of the application if
create is true. |
Modifier and Type | Method and Description |
---|---|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
boolean useAssignmentContext)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
boolean useAssignmentContext,
int expectedStatus)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
boolean useAssignmentContext,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
String context)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
String context,
int expectedStatus)
Sends a PUT request to update an assignment of the user for the experiment.
|
Assignment |
TestBase.putAssignment(Experiment experiment,
Assignment assignment,
User user,
String context,
int expectedStatus,
APIServerConnector apiServerConnector)
Sends a PUT request to update an assignment of the user for the experiment.
|
Modifier and Type | Method and Description |
---|---|
Assignment |
Assignment.setAssignment(String assignment)
Sets the assignment bucket.
|
Assignment |
Assignment.setCache(boolean cache)
Sets the cache.
|
Assignment |
Assignment.setContext(String context)
Sets the context.
|
Assignment |
Assignment.setExperimentLabel(String experimentLabel)
Sets the experimentLabel.
|
Assignment |
Assignment.setOverwrite(boolean overwrite)
Sets the overwrite.
|
Assignment |
Assignment.setPayload(String payload)
Sets the payload.
|
Assignment |
Assignment.setStatus(String status)
Sets the status.
|
Constructor and Description |
---|
Assignment(Assignment other)
Creates a deep copy of the
other experiment. |
Modifier and Type | Method and Description |
---|---|
static Assignment |
AssignmentFactory.createAssignment()
Creates a basic Assignment with the required default values.
|
static Assignment |
AssignmentFactory.createFromJSONString(String json)
Creates an Assignment from a JSON String.
|
Copyright © 2016. All rights reserved.