Skip to content

Instantly share code, notes, and snippets.

@haigopi
Created July 15, 2018 22:42
Show Gist options
  • Save haigopi/412daea872041ce3e3103146a6752b32 to your computer and use it in GitHub Desktop.
Save haigopi/412daea872041ce3e3103146a6752b32 to your computer and use it in GitHub Desktop.
public void createGetQ(){
for (int i = 0; i <= 10; ++i) {
Tuple3<String, String, HttpMethod> getTuple = new Tuple3("https://reqres.in/api/users/2?delay=3", payload, HttpMethod.GET);
get.add(getTuple);
}
}
public void createPostQ(){
for (int i = 0; i <= 10; ++i) {
Tuple3<String, String, HttpMethod> postTuple = new Tuple3("https://reqres.in/api/users", payload, org.springframework.http.HttpMethod.POST);
post.add(postTuple);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment