StopTest

Description

The StopTest method sends a request to stop a NeoLoad test.

Parameters

REST example

POST http://localhost:7400/Runtime/v1/Service.svc/StopTest HTTP/1.1
Accept: application/json
Content-Type: application/json
Cache-Control: nocache
Pragma: nocache
Connection: keepalive

{
  "d":
    {
    }
}

Use case with Java Client

import com.neotys.rest.runtime.client.RuntimeAPIClient;
import com.neotys.rest.runtime.client.RuntimeAPIClientFactory;
import com.neotys.rest.runtime.model.StopTestParams;

public class StartTestExample {
	public static void main(String[] args) throws Exception {
		final RuntimeAPIClient client = RuntimeAPIClientFactory
				.newClient("http://localhost:7400/Runtime/v1/Service.svc/");
		client.stopTest(StopTestParams.newBuilder().build());
	}
}

Use case with C#Client

using Neotys.RuntimeAPI.Client;
using Neotys.RuntimeAPI.Model;

namespace TestRuntimeAPI
{
    class StopTest
    {
        public static void Main(string[] args)
        {
            string url = "http://localhost:7400/Design/v1/Service.svc/";
            IRuntimeAPIClient client = RuntimeAPIClientFactory.NewClient(url);
            client.StopTest(new StopTestParamsBuilder().Build());
        }
    }
}