GetStatus

Description

The GetStatus method provides the current status of NeoLoad:

Parameters

REST example

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

{"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.Status;

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

		final Status status = client.getStatus();
		System.out.println(status);
	}
}

Use case with C#Client

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

namespace TestRuntimeAPI
{
    class GetStatus
    {
        public static void Main(string[] args)
        {
            string url = "http://localhost:7400/Design/v1/Service.svc/";
            IRuntimeAPIClient client = RuntimeAPIClientFactory.NewClient(url);
            Status status = client.getStatus();
            Console.WriteLine(status);
        }
    }
}