Files
UnrealEngineUWP/Engine/Source/Programs/WebTests
richard smith 956fa0880e Integrating fix for #sh-03-08-7k-server-crashes-due-to-fort-714642-in--ext
Make sure to stop activity timeout timer when total timeout triggered;
Only output log if request had completed when activity timeout, it can continue to run even if that happened.

[REVIEW] [at]michael.atchison [at]michael.kirzinger [at]rafa.lecina
#rb Rafa.Lecina

#p4v-cherrypick 31948855

[CL 32141241 by richard smith in 5.4 branch]
2024-03-08 22:52:54 -05:00
..

WebTests

This is a collection of tests for web features like http, websocket, ssl etc.

Running the Tests

Run the WebTestsServer(NOTE: This server is created for TEST PURPOSE ONLY, it's not production ready!!!):

In ../WebTestsServer folder:
	> runserver.bat
Or if you use docker:
	> dockerbuildandrun.bat

Run the tests from VS:

Set `WebTests` as the startup project and set Solution Configuration to a `Development`.
If running tests on other devices, pass in the ip as command line args, after extra args AT THE END, like: "--extra-args --web_server_ip=your.pc.ip.address"
Compile and debug

Adding new test case in WebTestsServer:

Add/change the code in ./WebTestsServer code, most likely in httptests/urls.py and httptests/views.py, and save. Code will be reloaded if the web server is running
When using docker, also need to run dockerbuildandrun.bat
For more info about how to code in django, check https://docs.djangoproject.com/en/