1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
HtmlGenerationTest.cs (1)
27Client = Factory.CreateDefaultClient();
46 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (46)
HtmlGenerationTest.cs (46)
91var response = await Client.GetStringAsync("http://localhost/HtmlGeneration_Home/Enum"); 109var response = await Client.GetAsync("http://localhost/HtmlGeneration_Home/" + action); 135var response = await Client.GetAsync("HtmlGeneration_Home/image"); 305var response = await Client.GetAsync("http://localhost/CheckViewData/" + action); 336var response = await Client.SendAsync(request); 353var response = await Client.SendAsync(request); 389var response = await Client.SendAsync(request); 431var response1 = await (await Client.SendAsync(request)).Content.ReadAsStringAsync(); 433var response2 = await (await Client.SendAsync(request)).Content.ReadAsStringAsync(); 447var response3 = await (await Client.SendAsync(request)).Content.ReadAsStringAsync(); 449var response4 = await (await Client.SendAsync(request)).Content.ReadAsStringAsync(); 462var response5 = await (await Client.SendAsync(request)).Content.ReadAsStringAsync(); 464var response6 = await (await Client.SendAsync(request)).Content.ReadAsStringAsync(); 478var response1 = await Client.GetStringAsync("/catalog/2"); 486var response2 = await Client.GetStringAsync("/catalog/3"); 497var response1 = await Client.GetStringAsync("/catalog/cart?correlationid=1"); 506var response2 = await (await Client.SendAsync(request)).Content.ReadAsStringAsync(); 514var response3 = await Client.GetStringAsync("/catalog/cart?correlationid=3"); 524var response1 = await Client.GetStringAsync( 532var response2 = await Client.GetStringAsync( 540var response3 = await Client.GetStringAsync( 547var response4 = await Client.GetStringAsync( 555response1 = await Client.GetStringAsync( 557response2 = await Client.GetStringAsync( 559response3 = await Client.GetStringAsync( 561response4 = await Client.GetStringAsync( 575var response1 = await Client.GetStringAsync("/catalog/past-purchases/test1?correlationid=1"); 576var response2 = await Client.GetStringAsync("/catalog/past-purchases/test1?correlationid=2"); 584var response3 = await Client.GetStringAsync("/catalog/past-purchases/test2?correlationid=3"); 585var response4 = await Client.GetStringAsync("/catalog/past-purchases/test2?correlationid=4"); 597var response1 = await Client.GetStringAsync("/categories/Books?correlationId=1"); 606var response2 = await Client.GetStringAsync("/categories/Electronics?correlationId=2"); 619(await Client.SendAsync(requestMessage)).EnsureSuccessStatusCode(); 621var response3 = await Client.GetStringAsync("/categories/Electronics?correlationId=3"); 634var response1 = await Client.GetStringAsync("/catalog/GetDealPercentage/20?isEnabled=true"); 635var response2 = await Client.GetStringAsync("/catalog/GetDealPercentage/40?isEnabled=true"); 636var response3 = await Client.GetStringAsync("/catalog/GetDealPercentage/30?isEnabled=false"); 656var response = await Client.GetStringAsync("http://localhost/HtmlGeneration_Home/ItemUsingSharedEditorTemplate"); 670var response = await Client.GetStringAsync("http://localhost/HtmlGeneration_Home/ItemUsingModelSpecificEditorTemplate"); 694var response = await Client.GetStringAsync(url); 709var document = await Client.GetHtmlDocumentAsync(url); 724var document = await Client.GetHtmlDocumentAsync(url); 738var document = await Client.GetHtmlDocumentAsync(url); 752var document = await Client.GetHtmlDocumentAsync(url); 763var document = await Client.GetHtmlDocumentAsync("HtmlGeneration_Home/ValidationProviderAttribute"); 793var response = await Client.SendAsync(request);