Setting up an HTTP-Server/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 13: | Zeile 13: | ||
* create a new action (named "Setup & Configure HTTPServer"). |
* create a new action (named "Setup & Configure HTTPServer"). |
||
* add the "HTTP [StartServer]" action |
* add the "HTTP [StartServer]" action |
||
if you have to serve plain (unprocessed) files, for example for icons, images or other constant documents, then: |
|||
* add one or more "HTTP [Add File Service]" actions. |
Version vom 14. April 2025, 12:42 Uhr
Introduction[Bearbeiten]
You can use an HTTPServer inside expecco for various reasons:
- to generate JSON/XML/Text or other responses to a tested web application
- to provide status information to users
- to trigger actions inside a test-scenario from an outside browser
- many other possible applications
Using Standard Actions from the Standard Library[Bearbeiten]
The standard library provides HTTP server actions in the "Networking & Interfacing" / "HTTP" / "Server" folder.
- create a new action (named "Setup & Configure HTTPServer").
- add the "HTTP [StartServer]" action
if you have to serve plain (unprocessed) files, for example for icons, images or other constant documents, then:
- add one or more "HTTP [Add File Service]" actions.