Created
July 15, 2018 22:42
-
-
Save haigopi/412daea872041ce3e3103146a6752b32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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