public async Task Execute(IUserLoadTestHttpClient loadLoadTestHttpClient) { await loadLoadTestHttpClient.DelayUserClick(); var postId = (string)loadLoadTestHttpClient.TestState[PostId]; await loadLoadTestHttpClient.Get($"posts/{postId}"); await loadLoadTestHttpClient.DelayUserThink(); var comment = new Dictionary <string, object> { { "name", "HttpLoadTesting" }, { "email", "*****@*****.**" }, { "body", "Comment body" } }; await loadLoadTestHttpClient.Post($"posts/{postId}/comments", comment); }
public async Task Execute(IUserLoadTestHttpClient loadLoadTestHttpClient) { //await loadLoadTestHttpClient.DelayUserClick(); await loadLoadTestHttpClient.Get(""); }
public async Task Execute(IUserLoadTestHttpClient loadTestHttpClient) { await loadTestHttpClient.Get(""); //await Task.Delay(50); }