Difference between revisions of "VPP/VPPHostStack/TestHttpServer"

From fd.io
< VPP
Jump to: navigation, search
(HTTP Server Test App)
Line 1: Line 1:
 
= HTTP Server Test App =
 
= HTTP Server Test App =
  
This is a simple http server app that executes GET requests as CLI commands and returns the result. It can also return a static reply for CPS testing.  
+
This is a simple HTTP server app that executes GET requests as CLI commands and returns the result. It can also return a static reply for CPS testing.  
  
 
To start the server do:
 
To start the server do:

Revision as of 00:43, 7 March 2018

HTTP Server Test App

This is a simple HTTP server app that executes GET requests as CLI commands and returns the result. It can also return a static reply for CPS testing.

To start the server do:

# test echo server uri tcp://local-ip/port

In a browser that has connectivity to the server run: http://vpp_ip/port/sh/run

If all went well, vpp should have returned the results of the show run command.