1# HTTP server advanced tests
2
3(See the README.md file in the upper level 'examples' directory for more information about examples.)
4
5HTTP server example to perform some advanced tests
6
7## How to use example
8
9### Hardware Required
10
11* A development board with ESP32/ESP32-S2/ESP32-C3 SoC (e.g., ESP32-DevKitC, ESP-WROVER-KIT, etc.)
12* A USB cable for power supply and programming
13
14### Configure the project
15
16```
17idf.py menuconfig
18```
19* Open the project configuration menu (`idf.py menuconfig`) to configure Wi-Fi or Ethernet. See "Establishing Wi-Fi or Ethernet Connection" section in [examples/protocols/README.md](../../README.md) for more details.
20
21### Build and Flash
22
23Build the project and flash it to the board, then run monitor tool to view serial output:
24
25```
26idf.py -p PORT flash monitor
27```
28
29(Replace PORT with the name of the serial port to use.)
30
31(To exit the serial monitor, type ``Ctrl-]``.)
32
33See the Getting Started Guide for full steps to configure and use ESP-IDF to build projects.
34
35## Example Output
36
37```
38I (5561) example_connect: - IPv4 address: 192.168.194.219
39I (5561) example_connect: - IPv6 address: fe80:0000:0000:0000:266f:28ff:fe80:2c74, type: ESP_IP6_ADDR_IS_LINK_LOCAL
40I (5581) TESTS: Started HTTP server on port: '1234'
41I (5581) TESTS: Max URI handlers: '9'
42I (5581) TESTS: Max Open Sessions: '7'
43I (5591) TESTS: Max Header Length: '512'
44I (5591) TESTS: Max URI Length: '512'
45I (5601) TESTS: Max Stack Size: '4096'
46I (5601) TESTS: Registering basic handlers
47I (5601) TESTS: No of handlers = 9
48I (5611) TESTS: Success
49```
50