https://github.com/blueandi/webservertest
https://github.com/blueandi/webservertest
esp32 esp32-arduino
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/blueandi/webservertest
- Owner: BlueAndi
- License: mit
- Created: 2021-06-06T16:12:03.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-07T09:51:43.000Z (almost 5 years ago)
- Last Synced: 2025-02-02T04:44:22.949Z (over 1 year ago)
- Topics: esp32, esp32-arduino
- Language: C++
- Homepage:
- Size: 84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WebServerTest
It will connect to a wifi network and setup up a webserver with test data.
[](http://choosealicense.com/licenses/mit/)
[](https://www.repostatus.org/#wip)
## Preparation of test data
1. Copy your test data to ```/data/testData``` folder. See test data files in ```/scripts```.
## Preparation of target software
1. Change the "board" in ```/platformio.ini``` to your used board.
2. Open ```/src/main.cpp``` and set
1. ```WIFI_STATION_SSID``` to your wifi network SSID and
2. ```WIFI_STATION_PASSWORD``` to your wifi network password.
3. Build and upload filesystem.
4. Build and upload software.
5. Connect to serial and monitor output.
## Preparation of test script
1. Open ```/scripts/test.sh``` and change:
1. Set ```serverIpAddress``` to the test webserver ip-address, see console output.
2. Set ```testDataFilename``` according to your choosen test data, see ```/data/testData``` folder.
## Download tests
1. Open git bash console.
2. Change to folder ```/scripts```
3. Run the script: ```$ ./test.sh ```
1. ``````
1. "uc1": Download in webserver context.
2. "uc2": Download in main loop context.
2. ``````: Total number of consequtive downloads.
Example:
```bash
$ ./test.sh uc1 3
```
# Issues, Ideas And Bugs
If you have further ideas or you found some bugs, great! Create a [issue](https://github.com/BlueAndi/WebServerTest/issues) or if you are able and willing to fix it by yourself, clone the repository and create a pull request.
# License
The whole source code is published under the [MIT license](http://choosealicense.com/licenses/mit/).
Consider the different licenses of the used third party libraries too!
# Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any
additional terms or conditions.