Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Web Service Multithread component is designed to work with the Web Service Multithread Worker to enable parallel processing of requests. These components have two distinct roles:

...

Expand
titleSTEP 1: Import the Web Service Multithreaded Multithread and Web Service Multithread Worker components

Using +COMPONENT, import two components:

  • Web Service Multithread

  • Web Service Multithread Worker

...

Expand
titleSTEP 3: Setup two test source data feed to send requests to the Web Service Multithreaded Multithread component

You can use any mechanism to send HTTP requests to the Web Service Multithread component configured endpoint - default is http://localhost:7778/. If your Iguana instance is running remotely you can use the public IP address.

If you want to use Iguana as the test source system to create a data feed, you can use the following simple setup:

  1. Create two custom components named “Source Feed 1“ and “Source Feed 2“

  2. Copy the script below into each of the component Translator to send an HTTP GET Request to the Web Service Multithread component.

Code Block
languagelua
function main(Data)
  net.http.get{url="http://127.0.0.1:7778"} 
end

...