GET toolresults.projects.getSettings
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings
QUERY PARAMS

projectId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/settings HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/settings',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/settings")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/settings') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/settings")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST toolresults.projects.histories.create
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories
QUERY PARAMS

projectId
BODY json

{
  "displayName": "",
  "historyId": "",
  "name": "",
  "testPlatform": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories" {:content-type :json
                                                                                              :form-params {:displayName ""
                                                                                                            :historyId ""
                                                                                                            :name ""
                                                                                                            :testPlatform ""}})
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"),
    Content = new StringContent("{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"

	payload := strings.NewReader("{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/toolresults/v1beta3/projects/:projectId/histories HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 78

{
  "displayName": "",
  "historyId": "",
  "name": "",
  "testPlatform": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")
  .header("content-type", "application/json")
  .body("{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  displayName: '',
  historyId: '',
  name: '',
  testPlatform: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories',
  headers: {'content-type': 'application/json'},
  data: {displayName: '', historyId: '', name: '', testPlatform: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"displayName":"","historyId":"","name":"","testPlatform":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "displayName": "",\n  "historyId": "",\n  "name": "",\n  "testPlatform": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({displayName: '', historyId: '', name: '', testPlatform: ''}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories',
  headers: {'content-type': 'application/json'},
  body: {displayName: '', historyId: '', name: '', testPlatform: ''},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  displayName: '',
  historyId: '',
  name: '',
  testPlatform: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories',
  headers: {'content-type': 'application/json'},
  data: {displayName: '', historyId: '', name: '', testPlatform: ''}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"displayName":"","historyId":"","name":"","testPlatform":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"displayName": @"",
                              @"historyId": @"",
                              @"name": @"",
                              @"testPlatform": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'displayName' => '',
    'historyId' => '',
    'name' => '',
    'testPlatform' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories', [
  'body' => '{
  "displayName": "",
  "historyId": "",
  "name": "",
  "testPlatform": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'displayName' => '',
  'historyId' => '',
  'name' => '',
  'testPlatform' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'displayName' => '',
  'historyId' => '',
  'name' => '',
  'testPlatform' => ''
]));
$request->setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "displayName": "",
  "historyId": "",
  "name": "",
  "testPlatform": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "displayName": "",
  "historyId": "",
  "name": "",
  "testPlatform": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"

payload = {
    "displayName": "",
    "historyId": "",
    "name": "",
    "testPlatform": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"

payload <- "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/toolresults/v1beta3/projects/:projectId/histories') do |req|
  req.body = "{\n  \"displayName\": \"\",\n  \"historyId\": \"\",\n  \"name\": \"\",\n  \"testPlatform\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories";

    let payload = json!({
        "displayName": "",
        "historyId": "",
        "name": "",
        "testPlatform": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories \
  --header 'content-type: application/json' \
  --data '{
  "displayName": "",
  "historyId": "",
  "name": "",
  "testPlatform": ""
}'
echo '{
  "displayName": "",
  "historyId": "",
  "name": "",
  "testPlatform": ""
}' |  \
  http POST {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "displayName": "",\n  "historyId": "",\n  "name": "",\n  "testPlatform": ""\n}' \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "displayName": "",
  "historyId": "",
  "name": "",
  "testPlatform": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.clusters.get
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId
QUERY PARAMS

projectId
historyId
executionId
clusterId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters/:clusterId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.clusters.list
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters
QUERY PARAMS

projectId
historyId
executionId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/clusters")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST toolresults.projects.histories.executions.create
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions
QUERY PARAMS

projectId
historyId
BODY json

{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions" {:content-type :json
                                                                                                                    :form-params {:completionTime {:nanos 0
                                                                                                                                                   :seconds ""}
                                                                                                                                  :creationTime {}
                                                                                                                                  :dimensionDefinitions [{}]
                                                                                                                                  :executionId ""
                                                                                                                                  :outcome {:failureDetail {:crashed false
                                                                                                                                                            :deviceOutOfMemory false
                                                                                                                                                            :failedRoboscript false
                                                                                                                                                            :notInstalled false
                                                                                                                                                            :otherNativeCrash false
                                                                                                                                                            :timedOut false
                                                                                                                                                            :unableToCrawl false}
                                                                                                                                            :inconclusiveDetail {:abortedByUser false
                                                                                                                                                                 :hasErrorLogs false
                                                                                                                                                                 :infrastructureFailure false}
                                                                                                                                            :skippedDetail {:incompatibleAppVersion false
                                                                                                                                                            :incompatibleArchitecture false
                                                                                                                                                            :incompatibleDevice false}
                                                                                                                                            :successDetail {:otherNativeCrash false}
                                                                                                                                            :summary ""}
                                                                                                                                  :specification {:androidTest {:androidAppInfo {:name ""
                                                                                                                                                                                 :packageName ""
                                                                                                                                                                                 :versionCode ""
                                                                                                                                                                                 :versionName ""}
                                                                                                                                                                :androidInstrumentationTest {:testPackageId ""
                                                                                                                                                                                             :testRunnerClass ""
                                                                                                                                                                                             :testTargets []
                                                                                                                                                                                             :useOrchestrator false}
                                                                                                                                                                :androidRoboTest {:appInitialActivity ""
                                                                                                                                                                                  :bootstrapPackageId ""
                                                                                                                                                                                  :bootstrapRunnerClass ""
                                                                                                                                                                                  :maxDepth 0
                                                                                                                                                                                  :maxSteps 0}
                                                                                                                                                                :androidTestLoop {}
                                                                                                                                                                :testTimeout {:nanos 0
                                                                                                                                                                              :seconds ""}}
                                                                                                                                                  :iosTest {:iosAppInfo {:name ""}
                                                                                                                                                            :iosRoboTest {}
                                                                                                                                                            :iosTestLoop {:bundleId ""}
                                                                                                                                                            :iosXcTest {:bundleId ""
                                                                                                                                                                        :xcodeVersion ""}
                                                                                                                                                            :testTimeout {}}}
                                                                                                                                  :state ""
                                                                                                                                  :testExecutionMatrixId ""}})
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"),
    Content = new StringContent("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"

	payload := strings.NewReader("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 1705

{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")
  .header("content-type", "application/json")
  .body("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  completionTime: {
    nanos: 0,
    seconds: ''
  },
  creationTime: {},
  dimensionDefinitions: [
    {}
  ],
  executionId: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {
      abortedByUser: false,
      hasErrorLogs: false,
      infrastructureFailure: false
    },
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {
      otherNativeCrash: false
    },
    summary: ''
  },
  specification: {
    androidTest: {
      androidAppInfo: {
        name: '',
        packageName: '',
        versionCode: '',
        versionName: ''
      },
      androidInstrumentationTest: {
        testPackageId: '',
        testRunnerClass: '',
        testTargets: [],
        useOrchestrator: false
      },
      androidRoboTest: {
        appInitialActivity: '',
        bootstrapPackageId: '',
        bootstrapRunnerClass: '',
        maxDepth: 0,
        maxSteps: 0
      },
      androidTestLoop: {},
      testTimeout: {
        nanos: 0,
        seconds: ''
      }
    },
    iosTest: {
      iosAppInfo: {
        name: ''
      },
      iosRoboTest: {},
      iosTestLoop: {
        bundleId: ''
      },
      iosXcTest: {
        bundleId: '',
        xcodeVersion: ''
      },
      testTimeout: {}
    }
  },
  state: '',
  testExecutionMatrixId: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions',
  headers: {'content-type': 'application/json'},
  data: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    dimensionDefinitions: [{}],
    executionId: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    specification: {
      androidTest: {
        androidAppInfo: {name: '', packageName: '', versionCode: '', versionName: ''},
        androidInstrumentationTest: {
          testPackageId: '',
          testRunnerClass: '',
          testTargets: [],
          useOrchestrator: false
        },
        androidRoboTest: {
          appInitialActivity: '',
          bootstrapPackageId: '',
          bootstrapRunnerClass: '',
          maxDepth: 0,
          maxSteps: 0
        },
        androidTestLoop: {},
        testTimeout: {nanos: 0, seconds: ''}
      },
      iosTest: {
        iosAppInfo: {name: ''},
        iosRoboTest: {},
        iosTestLoop: {bundleId: ''},
        iosXcTest: {bundleId: '', xcodeVersion: ''},
        testTimeout: {}
      }
    },
    state: '',
    testExecutionMatrixId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"completionTime":{"nanos":0,"seconds":""},"creationTime":{},"dimensionDefinitions":[{}],"executionId":"","outcome":{"failureDetail":{"crashed":false,"deviceOutOfMemory":false,"failedRoboscript":false,"notInstalled":false,"otherNativeCrash":false,"timedOut":false,"unableToCrawl":false},"inconclusiveDetail":{"abortedByUser":false,"hasErrorLogs":false,"infrastructureFailure":false},"skippedDetail":{"incompatibleAppVersion":false,"incompatibleArchitecture":false,"incompatibleDevice":false},"successDetail":{"otherNativeCrash":false},"summary":""},"specification":{"androidTest":{"androidAppInfo":{"name":"","packageName":"","versionCode":"","versionName":""},"androidInstrumentationTest":{"testPackageId":"","testRunnerClass":"","testTargets":[],"useOrchestrator":false},"androidRoboTest":{"appInitialActivity":"","bootstrapPackageId":"","bootstrapRunnerClass":"","maxDepth":0,"maxSteps":0},"androidTestLoop":{},"testTimeout":{"nanos":0,"seconds":""}},"iosTest":{"iosAppInfo":{"name":""},"iosRoboTest":{},"iosTestLoop":{"bundleId":""},"iosXcTest":{"bundleId":"","xcodeVersion":""},"testTimeout":{}}},"state":"","testExecutionMatrixId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "completionTime": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "creationTime": {},\n  "dimensionDefinitions": [\n    {}\n  ],\n  "executionId": "",\n  "outcome": {\n    "failureDetail": {\n      "crashed": false,\n      "deviceOutOfMemory": false,\n      "failedRoboscript": false,\n      "notInstalled": false,\n      "otherNativeCrash": false,\n      "timedOut": false,\n      "unableToCrawl": false\n    },\n    "inconclusiveDetail": {\n      "abortedByUser": false,\n      "hasErrorLogs": false,\n      "infrastructureFailure": false\n    },\n    "skippedDetail": {\n      "incompatibleAppVersion": false,\n      "incompatibleArchitecture": false,\n      "incompatibleDevice": false\n    },\n    "successDetail": {\n      "otherNativeCrash": false\n    },\n    "summary": ""\n  },\n  "specification": {\n    "androidTest": {\n      "androidAppInfo": {\n        "name": "",\n        "packageName": "",\n        "versionCode": "",\n        "versionName": ""\n      },\n      "androidInstrumentationTest": {\n        "testPackageId": "",\n        "testRunnerClass": "",\n        "testTargets": [],\n        "useOrchestrator": false\n      },\n      "androidRoboTest": {\n        "appInitialActivity": "",\n        "bootstrapPackageId": "",\n        "bootstrapRunnerClass": "",\n        "maxDepth": 0,\n        "maxSteps": 0\n      },\n      "androidTestLoop": {},\n      "testTimeout": {\n        "nanos": 0,\n        "seconds": ""\n      }\n    },\n    "iosTest": {\n      "iosAppInfo": {\n        "name": ""\n      },\n      "iosRoboTest": {},\n      "iosTestLoop": {\n        "bundleId": ""\n      },\n      "iosXcTest": {\n        "bundleId": "",\n        "xcodeVersion": ""\n      },\n      "testTimeout": {}\n    }\n  },\n  "state": "",\n  "testExecutionMatrixId": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  completionTime: {nanos: 0, seconds: ''},
  creationTime: {},
  dimensionDefinitions: [{}],
  executionId: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {otherNativeCrash: false},
    summary: ''
  },
  specification: {
    androidTest: {
      androidAppInfo: {name: '', packageName: '', versionCode: '', versionName: ''},
      androidInstrumentationTest: {
        testPackageId: '',
        testRunnerClass: '',
        testTargets: [],
        useOrchestrator: false
      },
      androidRoboTest: {
        appInitialActivity: '',
        bootstrapPackageId: '',
        bootstrapRunnerClass: '',
        maxDepth: 0,
        maxSteps: 0
      },
      androidTestLoop: {},
      testTimeout: {nanos: 0, seconds: ''}
    },
    iosTest: {
      iosAppInfo: {name: ''},
      iosRoboTest: {},
      iosTestLoop: {bundleId: ''},
      iosXcTest: {bundleId: '', xcodeVersion: ''},
      testTimeout: {}
    }
  },
  state: '',
  testExecutionMatrixId: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions',
  headers: {'content-type': 'application/json'},
  body: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    dimensionDefinitions: [{}],
    executionId: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    specification: {
      androidTest: {
        androidAppInfo: {name: '', packageName: '', versionCode: '', versionName: ''},
        androidInstrumentationTest: {
          testPackageId: '',
          testRunnerClass: '',
          testTargets: [],
          useOrchestrator: false
        },
        androidRoboTest: {
          appInitialActivity: '',
          bootstrapPackageId: '',
          bootstrapRunnerClass: '',
          maxDepth: 0,
          maxSteps: 0
        },
        androidTestLoop: {},
        testTimeout: {nanos: 0, seconds: ''}
      },
      iosTest: {
        iosAppInfo: {name: ''},
        iosRoboTest: {},
        iosTestLoop: {bundleId: ''},
        iosXcTest: {bundleId: '', xcodeVersion: ''},
        testTimeout: {}
      }
    },
    state: '',
    testExecutionMatrixId: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  completionTime: {
    nanos: 0,
    seconds: ''
  },
  creationTime: {},
  dimensionDefinitions: [
    {}
  ],
  executionId: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {
      abortedByUser: false,
      hasErrorLogs: false,
      infrastructureFailure: false
    },
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {
      otherNativeCrash: false
    },
    summary: ''
  },
  specification: {
    androidTest: {
      androidAppInfo: {
        name: '',
        packageName: '',
        versionCode: '',
        versionName: ''
      },
      androidInstrumentationTest: {
        testPackageId: '',
        testRunnerClass: '',
        testTargets: [],
        useOrchestrator: false
      },
      androidRoboTest: {
        appInitialActivity: '',
        bootstrapPackageId: '',
        bootstrapRunnerClass: '',
        maxDepth: 0,
        maxSteps: 0
      },
      androidTestLoop: {},
      testTimeout: {
        nanos: 0,
        seconds: ''
      }
    },
    iosTest: {
      iosAppInfo: {
        name: ''
      },
      iosRoboTest: {},
      iosTestLoop: {
        bundleId: ''
      },
      iosXcTest: {
        bundleId: '',
        xcodeVersion: ''
      },
      testTimeout: {}
    }
  },
  state: '',
  testExecutionMatrixId: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions',
  headers: {'content-type': 'application/json'},
  data: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    dimensionDefinitions: [{}],
    executionId: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    specification: {
      androidTest: {
        androidAppInfo: {name: '', packageName: '', versionCode: '', versionName: ''},
        androidInstrumentationTest: {
          testPackageId: '',
          testRunnerClass: '',
          testTargets: [],
          useOrchestrator: false
        },
        androidRoboTest: {
          appInitialActivity: '',
          bootstrapPackageId: '',
          bootstrapRunnerClass: '',
          maxDepth: 0,
          maxSteps: 0
        },
        androidTestLoop: {},
        testTimeout: {nanos: 0, seconds: ''}
      },
      iosTest: {
        iosAppInfo: {name: ''},
        iosRoboTest: {},
        iosTestLoop: {bundleId: ''},
        iosXcTest: {bundleId: '', xcodeVersion: ''},
        testTimeout: {}
      }
    },
    state: '',
    testExecutionMatrixId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"completionTime":{"nanos":0,"seconds":""},"creationTime":{},"dimensionDefinitions":[{}],"executionId":"","outcome":{"failureDetail":{"crashed":false,"deviceOutOfMemory":false,"failedRoboscript":false,"notInstalled":false,"otherNativeCrash":false,"timedOut":false,"unableToCrawl":false},"inconclusiveDetail":{"abortedByUser":false,"hasErrorLogs":false,"infrastructureFailure":false},"skippedDetail":{"incompatibleAppVersion":false,"incompatibleArchitecture":false,"incompatibleDevice":false},"successDetail":{"otherNativeCrash":false},"summary":""},"specification":{"androidTest":{"androidAppInfo":{"name":"","packageName":"","versionCode":"","versionName":""},"androidInstrumentationTest":{"testPackageId":"","testRunnerClass":"","testTargets":[],"useOrchestrator":false},"androidRoboTest":{"appInitialActivity":"","bootstrapPackageId":"","bootstrapRunnerClass":"","maxDepth":0,"maxSteps":0},"androidTestLoop":{},"testTimeout":{"nanos":0,"seconds":""}},"iosTest":{"iosAppInfo":{"name":""},"iosRoboTest":{},"iosTestLoop":{"bundleId":""},"iosXcTest":{"bundleId":"","xcodeVersion":""},"testTimeout":{}}},"state":"","testExecutionMatrixId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"completionTime": @{ @"nanos": @0, @"seconds": @"" },
                              @"creationTime": @{  },
                              @"dimensionDefinitions": @[ @{  } ],
                              @"executionId": @"",
                              @"outcome": @{ @"failureDetail": @{ @"crashed": @NO, @"deviceOutOfMemory": @NO, @"failedRoboscript": @NO, @"notInstalled": @NO, @"otherNativeCrash": @NO, @"timedOut": @NO, @"unableToCrawl": @NO }, @"inconclusiveDetail": @{ @"abortedByUser": @NO, @"hasErrorLogs": @NO, @"infrastructureFailure": @NO }, @"skippedDetail": @{ @"incompatibleAppVersion": @NO, @"incompatibleArchitecture": @NO, @"incompatibleDevice": @NO }, @"successDetail": @{ @"otherNativeCrash": @NO }, @"summary": @"" },
                              @"specification": @{ @"androidTest": @{ @"androidAppInfo": @{ @"name": @"", @"packageName": @"", @"versionCode": @"", @"versionName": @"" }, @"androidInstrumentationTest": @{ @"testPackageId": @"", @"testRunnerClass": @"", @"testTargets": @[  ], @"useOrchestrator": @NO }, @"androidRoboTest": @{ @"appInitialActivity": @"", @"bootstrapPackageId": @"", @"bootstrapRunnerClass": @"", @"maxDepth": @0, @"maxSteps": @0 }, @"androidTestLoop": @{  }, @"testTimeout": @{ @"nanos": @0, @"seconds": @"" } }, @"iosTest": @{ @"iosAppInfo": @{ @"name": @"" }, @"iosRoboTest": @{  }, @"iosTestLoop": @{ @"bundleId": @"" }, @"iosXcTest": @{ @"bundleId": @"", @"xcodeVersion": @"" }, @"testTimeout": @{  } } },
                              @"state": @"",
                              @"testExecutionMatrixId": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'completionTime' => [
        'nanos' => 0,
        'seconds' => ''
    ],
    'creationTime' => [
        
    ],
    'dimensionDefinitions' => [
        [
                
        ]
    ],
    'executionId' => '',
    'outcome' => [
        'failureDetail' => [
                'crashed' => null,
                'deviceOutOfMemory' => null,
                'failedRoboscript' => null,
                'notInstalled' => null,
                'otherNativeCrash' => null,
                'timedOut' => null,
                'unableToCrawl' => null
        ],
        'inconclusiveDetail' => [
                'abortedByUser' => null,
                'hasErrorLogs' => null,
                'infrastructureFailure' => null
        ],
        'skippedDetail' => [
                'incompatibleAppVersion' => null,
                'incompatibleArchitecture' => null,
                'incompatibleDevice' => null
        ],
        'successDetail' => [
                'otherNativeCrash' => null
        ],
        'summary' => ''
    ],
    'specification' => [
        'androidTest' => [
                'androidAppInfo' => [
                                'name' => '',
                                'packageName' => '',
                                'versionCode' => '',
                                'versionName' => ''
                ],
                'androidInstrumentationTest' => [
                                'testPackageId' => '',
                                'testRunnerClass' => '',
                                'testTargets' => [
                                                                
                                ],
                                'useOrchestrator' => null
                ],
                'androidRoboTest' => [
                                'appInitialActivity' => '',
                                'bootstrapPackageId' => '',
                                'bootstrapRunnerClass' => '',
                                'maxDepth' => 0,
                                'maxSteps' => 0
                ],
                'androidTestLoop' => [
                                
                ],
                'testTimeout' => [
                                'nanos' => 0,
                                'seconds' => ''
                ]
        ],
        'iosTest' => [
                'iosAppInfo' => [
                                'name' => ''
                ],
                'iosRoboTest' => [
                                
                ],
                'iosTestLoop' => [
                                'bundleId' => ''
                ],
                'iosXcTest' => [
                                'bundleId' => '',
                                'xcodeVersion' => ''
                ],
                'testTimeout' => [
                                
                ]
        ]
    ],
    'state' => '',
    'testExecutionMatrixId' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions', [
  'body' => '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'completionTime' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'creationTime' => [
    
  ],
  'dimensionDefinitions' => [
    [
        
    ]
  ],
  'executionId' => '',
  'outcome' => [
    'failureDetail' => [
        'crashed' => null,
        'deviceOutOfMemory' => null,
        'failedRoboscript' => null,
        'notInstalled' => null,
        'otherNativeCrash' => null,
        'timedOut' => null,
        'unableToCrawl' => null
    ],
    'inconclusiveDetail' => [
        'abortedByUser' => null,
        'hasErrorLogs' => null,
        'infrastructureFailure' => null
    ],
    'skippedDetail' => [
        'incompatibleAppVersion' => null,
        'incompatibleArchitecture' => null,
        'incompatibleDevice' => null
    ],
    'successDetail' => [
        'otherNativeCrash' => null
    ],
    'summary' => ''
  ],
  'specification' => [
    'androidTest' => [
        'androidAppInfo' => [
                'name' => '',
                'packageName' => '',
                'versionCode' => '',
                'versionName' => ''
        ],
        'androidInstrumentationTest' => [
                'testPackageId' => '',
                'testRunnerClass' => '',
                'testTargets' => [
                                
                ],
                'useOrchestrator' => null
        ],
        'androidRoboTest' => [
                'appInitialActivity' => '',
                'bootstrapPackageId' => '',
                'bootstrapRunnerClass' => '',
                'maxDepth' => 0,
                'maxSteps' => 0
        ],
        'androidTestLoop' => [
                
        ],
        'testTimeout' => [
                'nanos' => 0,
                'seconds' => ''
        ]
    ],
    'iosTest' => [
        'iosAppInfo' => [
                'name' => ''
        ],
        'iosRoboTest' => [
                
        ],
        'iosTestLoop' => [
                'bundleId' => ''
        ],
        'iosXcTest' => [
                'bundleId' => '',
                'xcodeVersion' => ''
        ],
        'testTimeout' => [
                
        ]
    ]
  ],
  'state' => '',
  'testExecutionMatrixId' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'completionTime' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'creationTime' => [
    
  ],
  'dimensionDefinitions' => [
    [
        
    ]
  ],
  'executionId' => '',
  'outcome' => [
    'failureDetail' => [
        'crashed' => null,
        'deviceOutOfMemory' => null,
        'failedRoboscript' => null,
        'notInstalled' => null,
        'otherNativeCrash' => null,
        'timedOut' => null,
        'unableToCrawl' => null
    ],
    'inconclusiveDetail' => [
        'abortedByUser' => null,
        'hasErrorLogs' => null,
        'infrastructureFailure' => null
    ],
    'skippedDetail' => [
        'incompatibleAppVersion' => null,
        'incompatibleArchitecture' => null,
        'incompatibleDevice' => null
    ],
    'successDetail' => [
        'otherNativeCrash' => null
    ],
    'summary' => ''
  ],
  'specification' => [
    'androidTest' => [
        'androidAppInfo' => [
                'name' => '',
                'packageName' => '',
                'versionCode' => '',
                'versionName' => ''
        ],
        'androidInstrumentationTest' => [
                'testPackageId' => '',
                'testRunnerClass' => '',
                'testTargets' => [
                                
                ],
                'useOrchestrator' => null
        ],
        'androidRoboTest' => [
                'appInitialActivity' => '',
                'bootstrapPackageId' => '',
                'bootstrapRunnerClass' => '',
                'maxDepth' => 0,
                'maxSteps' => 0
        ],
        'androidTestLoop' => [
                
        ],
        'testTimeout' => [
                'nanos' => 0,
                'seconds' => ''
        ]
    ],
    'iosTest' => [
        'iosAppInfo' => [
                'name' => ''
        ],
        'iosRoboTest' => [
                
        ],
        'iosTestLoop' => [
                'bundleId' => ''
        ],
        'iosXcTest' => [
                'bundleId' => '',
                'xcodeVersion' => ''
        ],
        'testTimeout' => [
                
        ]
    ]
  ],
  'state' => '',
  'testExecutionMatrixId' => ''
]));
$request->setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"

payload = {
    "completionTime": {
        "nanos": 0,
        "seconds": ""
    },
    "creationTime": {},
    "dimensionDefinitions": [{}],
    "executionId": "",
    "outcome": {
        "failureDetail": {
            "crashed": False,
            "deviceOutOfMemory": False,
            "failedRoboscript": False,
            "notInstalled": False,
            "otherNativeCrash": False,
            "timedOut": False,
            "unableToCrawl": False
        },
        "inconclusiveDetail": {
            "abortedByUser": False,
            "hasErrorLogs": False,
            "infrastructureFailure": False
        },
        "skippedDetail": {
            "incompatibleAppVersion": False,
            "incompatibleArchitecture": False,
            "incompatibleDevice": False
        },
        "successDetail": { "otherNativeCrash": False },
        "summary": ""
    },
    "specification": {
        "androidTest": {
            "androidAppInfo": {
                "name": "",
                "packageName": "",
                "versionCode": "",
                "versionName": ""
            },
            "androidInstrumentationTest": {
                "testPackageId": "",
                "testRunnerClass": "",
                "testTargets": [],
                "useOrchestrator": False
            },
            "androidRoboTest": {
                "appInitialActivity": "",
                "bootstrapPackageId": "",
                "bootstrapRunnerClass": "",
                "maxDepth": 0,
                "maxSteps": 0
            },
            "androidTestLoop": {},
            "testTimeout": {
                "nanos": 0,
                "seconds": ""
            }
        },
        "iosTest": {
            "iosAppInfo": { "name": "" },
            "iosRoboTest": {},
            "iosTestLoop": { "bundleId": "" },
            "iosXcTest": {
                "bundleId": "",
                "xcodeVersion": ""
            },
            "testTimeout": {}
        }
    },
    "state": "",
    "testExecutionMatrixId": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"

payload <- "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions') do |req|
  req.body = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions";

    let payload = json!({
        "completionTime": json!({
            "nanos": 0,
            "seconds": ""
        }),
        "creationTime": json!({}),
        "dimensionDefinitions": (json!({})),
        "executionId": "",
        "outcome": json!({
            "failureDetail": json!({
                "crashed": false,
                "deviceOutOfMemory": false,
                "failedRoboscript": false,
                "notInstalled": false,
                "otherNativeCrash": false,
                "timedOut": false,
                "unableToCrawl": false
            }),
            "inconclusiveDetail": json!({
                "abortedByUser": false,
                "hasErrorLogs": false,
                "infrastructureFailure": false
            }),
            "skippedDetail": json!({
                "incompatibleAppVersion": false,
                "incompatibleArchitecture": false,
                "incompatibleDevice": false
            }),
            "successDetail": json!({"otherNativeCrash": false}),
            "summary": ""
        }),
        "specification": json!({
            "androidTest": json!({
                "androidAppInfo": json!({
                    "name": "",
                    "packageName": "",
                    "versionCode": "",
                    "versionName": ""
                }),
                "androidInstrumentationTest": json!({
                    "testPackageId": "",
                    "testRunnerClass": "",
                    "testTargets": (),
                    "useOrchestrator": false
                }),
                "androidRoboTest": json!({
                    "appInitialActivity": "",
                    "bootstrapPackageId": "",
                    "bootstrapRunnerClass": "",
                    "maxDepth": 0,
                    "maxSteps": 0
                }),
                "androidTestLoop": json!({}),
                "testTimeout": json!({
                    "nanos": 0,
                    "seconds": ""
                })
            }),
            "iosTest": json!({
                "iosAppInfo": json!({"name": ""}),
                "iosRoboTest": json!({}),
                "iosTestLoop": json!({"bundleId": ""}),
                "iosXcTest": json!({
                    "bundleId": "",
                    "xcodeVersion": ""
                }),
                "testTimeout": json!({})
            })
        }),
        "state": "",
        "testExecutionMatrixId": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions \
  --header 'content-type: application/json' \
  --data '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}'
echo '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}' |  \
  http POST {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "completionTime": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "creationTime": {},\n  "dimensionDefinitions": [\n    {}\n  ],\n  "executionId": "",\n  "outcome": {\n    "failureDetail": {\n      "crashed": false,\n      "deviceOutOfMemory": false,\n      "failedRoboscript": false,\n      "notInstalled": false,\n      "otherNativeCrash": false,\n      "timedOut": false,\n      "unableToCrawl": false\n    },\n    "inconclusiveDetail": {\n      "abortedByUser": false,\n      "hasErrorLogs": false,\n      "infrastructureFailure": false\n    },\n    "skippedDetail": {\n      "incompatibleAppVersion": false,\n      "incompatibleArchitecture": false,\n      "incompatibleDevice": false\n    },\n    "successDetail": {\n      "otherNativeCrash": false\n    },\n    "summary": ""\n  },\n  "specification": {\n    "androidTest": {\n      "androidAppInfo": {\n        "name": "",\n        "packageName": "",\n        "versionCode": "",\n        "versionName": ""\n      },\n      "androidInstrumentationTest": {\n        "testPackageId": "",\n        "testRunnerClass": "",\n        "testTargets": [],\n        "useOrchestrator": false\n      },\n      "androidRoboTest": {\n        "appInitialActivity": "",\n        "bootstrapPackageId": "",\n        "bootstrapRunnerClass": "",\n        "maxDepth": 0,\n        "maxSteps": 0\n      },\n      "androidTestLoop": {},\n      "testTimeout": {\n        "nanos": 0,\n        "seconds": ""\n      }\n    },\n    "iosTest": {\n      "iosAppInfo": {\n        "name": ""\n      },\n      "iosRoboTest": {},\n      "iosTestLoop": {\n        "bundleId": ""\n      },\n      "iosXcTest": {\n        "bundleId": "",\n        "xcodeVersion": ""\n      },\n      "testTimeout": {}\n    }\n  },\n  "state": "",\n  "testExecutionMatrixId": ""\n}' \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "completionTime": [
    "nanos": 0,
    "seconds": ""
  ],
  "creationTime": [],
  "dimensionDefinitions": [[]],
  "executionId": "",
  "outcome": [
    "failureDetail": [
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    ],
    "inconclusiveDetail": [
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    ],
    "skippedDetail": [
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    ],
    "successDetail": ["otherNativeCrash": false],
    "summary": ""
  ],
  "specification": [
    "androidTest": [
      "androidAppInfo": [
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      ],
      "androidInstrumentationTest": [
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      ],
      "androidRoboTest": [
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      ],
      "androidTestLoop": [],
      "testTimeout": [
        "nanos": 0,
        "seconds": ""
      ]
    ],
    "iosTest": [
      "iosAppInfo": ["name": ""],
      "iosRoboTest": [],
      "iosTestLoop": ["bundleId": ""],
      "iosXcTest": [
        "bundleId": "",
        "xcodeVersion": ""
      ],
      "testTimeout": []
    ]
  ],
  "state": "",
  "testExecutionMatrixId": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.environments.get
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId
QUERY PARAMS

projectId
historyId
executionId
environmentId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments/:environmentId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.environments.list
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments
QUERY PARAMS

projectId
historyId
executionId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/environments")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.get
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId
QUERY PARAMS

projectId
historyId
executionId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.list
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions
QUERY PARAMS

projectId
historyId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
PATCH toolresults.projects.histories.executions.patch
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId
QUERY PARAMS

projectId
historyId
executionId
BODY json

{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PATCH");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/patch "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId" {:content-type :json
                                                                                                                                  :form-params {:completionTime {:nanos 0
                                                                                                                                                                 :seconds ""}
                                                                                                                                                :creationTime {}
                                                                                                                                                :dimensionDefinitions [{}]
                                                                                                                                                :executionId ""
                                                                                                                                                :outcome {:failureDetail {:crashed false
                                                                                                                                                                          :deviceOutOfMemory false
                                                                                                                                                                          :failedRoboscript false
                                                                                                                                                                          :notInstalled false
                                                                                                                                                                          :otherNativeCrash false
                                                                                                                                                                          :timedOut false
                                                                                                                                                                          :unableToCrawl false}
                                                                                                                                                          :inconclusiveDetail {:abortedByUser false
                                                                                                                                                                               :hasErrorLogs false
                                                                                                                                                                               :infrastructureFailure false}
                                                                                                                                                          :skippedDetail {:incompatibleAppVersion false
                                                                                                                                                                          :incompatibleArchitecture false
                                                                                                                                                                          :incompatibleDevice false}
                                                                                                                                                          :successDetail {:otherNativeCrash false}
                                                                                                                                                          :summary ""}
                                                                                                                                                :specification {:androidTest {:androidAppInfo {:name ""
                                                                                                                                                                                               :packageName ""
                                                                                                                                                                                               :versionCode ""
                                                                                                                                                                                               :versionName ""}
                                                                                                                                                                              :androidInstrumentationTest {:testPackageId ""
                                                                                                                                                                                                           :testRunnerClass ""
                                                                                                                                                                                                           :testTargets []
                                                                                                                                                                                                           :useOrchestrator false}
                                                                                                                                                                              :androidRoboTest {:appInitialActivity ""
                                                                                                                                                                                                :bootstrapPackageId ""
                                                                                                                                                                                                :bootstrapRunnerClass ""
                                                                                                                                                                                                :maxDepth 0
                                                                                                                                                                                                :maxSteps 0}
                                                                                                                                                                              :androidTestLoop {}
                                                                                                                                                                              :testTimeout {:nanos 0
                                                                                                                                                                                            :seconds ""}}
                                                                                                                                                                :iosTest {:iosAppInfo {:name ""}
                                                                                                                                                                          :iosRoboTest {}
                                                                                                                                                                          :iosTestLoop {:bundleId ""}
                                                                                                                                                                          :iosXcTest {:bundleId ""
                                                                                                                                                                                      :xcodeVersion ""}
                                                                                                                                                                          :testTimeout {}}}
                                                                                                                                                :state ""
                                                                                                                                                :testExecutionMatrixId ""}})
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"

response = HTTP::Client.patch url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Patch,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"),
    Content = new StringContent("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId");
var request = new RestRequest("", Method.Patch);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"

	payload := strings.NewReader("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
PATCH /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 1705

{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("PATCH", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"))
    .header("content-type", "application/json")
    .method("PATCH", HttpRequest.BodyPublishers.ofString("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.patch("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")
  .header("content-type", "application/json")
  .body("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  completionTime: {
    nanos: 0,
    seconds: ''
  },
  creationTime: {},
  dimensionDefinitions: [
    {}
  ],
  executionId: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {
      abortedByUser: false,
      hasErrorLogs: false,
      infrastructureFailure: false
    },
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {
      otherNativeCrash: false
    },
    summary: ''
  },
  specification: {
    androidTest: {
      androidAppInfo: {
        name: '',
        packageName: '',
        versionCode: '',
        versionName: ''
      },
      androidInstrumentationTest: {
        testPackageId: '',
        testRunnerClass: '',
        testTargets: [],
        useOrchestrator: false
      },
      androidRoboTest: {
        appInitialActivity: '',
        bootstrapPackageId: '',
        bootstrapRunnerClass: '',
        maxDepth: 0,
        maxSteps: 0
      },
      androidTestLoop: {},
      testTimeout: {
        nanos: 0,
        seconds: ''
      }
    },
    iosTest: {
      iosAppInfo: {
        name: ''
      },
      iosRoboTest: {},
      iosTestLoop: {
        bundleId: ''
      },
      iosXcTest: {
        bundleId: '',
        xcodeVersion: ''
      },
      testTimeout: {}
    }
  },
  state: '',
  testExecutionMatrixId: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('PATCH', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId',
  headers: {'content-type': 'application/json'},
  data: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    dimensionDefinitions: [{}],
    executionId: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    specification: {
      androidTest: {
        androidAppInfo: {name: '', packageName: '', versionCode: '', versionName: ''},
        androidInstrumentationTest: {
          testPackageId: '',
          testRunnerClass: '',
          testTargets: [],
          useOrchestrator: false
        },
        androidRoboTest: {
          appInitialActivity: '',
          bootstrapPackageId: '',
          bootstrapRunnerClass: '',
          maxDepth: 0,
          maxSteps: 0
        },
        androidTestLoop: {},
        testTimeout: {nanos: 0, seconds: ''}
      },
      iosTest: {
        iosAppInfo: {name: ''},
        iosRoboTest: {},
        iosTestLoop: {bundleId: ''},
        iosXcTest: {bundleId: '', xcodeVersion: ''},
        testTimeout: {}
      }
    },
    state: '',
    testExecutionMatrixId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"completionTime":{"nanos":0,"seconds":""},"creationTime":{},"dimensionDefinitions":[{}],"executionId":"","outcome":{"failureDetail":{"crashed":false,"deviceOutOfMemory":false,"failedRoboscript":false,"notInstalled":false,"otherNativeCrash":false,"timedOut":false,"unableToCrawl":false},"inconclusiveDetail":{"abortedByUser":false,"hasErrorLogs":false,"infrastructureFailure":false},"skippedDetail":{"incompatibleAppVersion":false,"incompatibleArchitecture":false,"incompatibleDevice":false},"successDetail":{"otherNativeCrash":false},"summary":""},"specification":{"androidTest":{"androidAppInfo":{"name":"","packageName":"","versionCode":"","versionName":""},"androidInstrumentationTest":{"testPackageId":"","testRunnerClass":"","testTargets":[],"useOrchestrator":false},"androidRoboTest":{"appInitialActivity":"","bootstrapPackageId":"","bootstrapRunnerClass":"","maxDepth":0,"maxSteps":0},"androidTestLoop":{},"testTimeout":{"nanos":0,"seconds":""}},"iosTest":{"iosAppInfo":{"name":""},"iosRoboTest":{},"iosTestLoop":{"bundleId":""},"iosXcTest":{"bundleId":"","xcodeVersion":""},"testTimeout":{}}},"state":"","testExecutionMatrixId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId',
  method: 'PATCH',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "completionTime": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "creationTime": {},\n  "dimensionDefinitions": [\n    {}\n  ],\n  "executionId": "",\n  "outcome": {\n    "failureDetail": {\n      "crashed": false,\n      "deviceOutOfMemory": false,\n      "failedRoboscript": false,\n      "notInstalled": false,\n      "otherNativeCrash": false,\n      "timedOut": false,\n      "unableToCrawl": false\n    },\n    "inconclusiveDetail": {\n      "abortedByUser": false,\n      "hasErrorLogs": false,\n      "infrastructureFailure": false\n    },\n    "skippedDetail": {\n      "incompatibleAppVersion": false,\n      "incompatibleArchitecture": false,\n      "incompatibleDevice": false\n    },\n    "successDetail": {\n      "otherNativeCrash": false\n    },\n    "summary": ""\n  },\n  "specification": {\n    "androidTest": {\n      "androidAppInfo": {\n        "name": "",\n        "packageName": "",\n        "versionCode": "",\n        "versionName": ""\n      },\n      "androidInstrumentationTest": {\n        "testPackageId": "",\n        "testRunnerClass": "",\n        "testTargets": [],\n        "useOrchestrator": false\n      },\n      "androidRoboTest": {\n        "appInitialActivity": "",\n        "bootstrapPackageId": "",\n        "bootstrapRunnerClass": "",\n        "maxDepth": 0,\n        "maxSteps": 0\n      },\n      "androidTestLoop": {},\n      "testTimeout": {\n        "nanos": 0,\n        "seconds": ""\n      }\n    },\n    "iosTest": {\n      "iosAppInfo": {\n        "name": ""\n      },\n      "iosRoboTest": {},\n      "iosTestLoop": {\n        "bundleId": ""\n      },\n      "iosXcTest": {\n        "bundleId": "",\n        "xcodeVersion": ""\n      },\n      "testTimeout": {}\n    }\n  },\n  "state": "",\n  "testExecutionMatrixId": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'PATCH',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  completionTime: {nanos: 0, seconds: ''},
  creationTime: {},
  dimensionDefinitions: [{}],
  executionId: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {otherNativeCrash: false},
    summary: ''
  },
  specification: {
    androidTest: {
      androidAppInfo: {name: '', packageName: '', versionCode: '', versionName: ''},
      androidInstrumentationTest: {
        testPackageId: '',
        testRunnerClass: '',
        testTargets: [],
        useOrchestrator: false
      },
      androidRoboTest: {
        appInitialActivity: '',
        bootstrapPackageId: '',
        bootstrapRunnerClass: '',
        maxDepth: 0,
        maxSteps: 0
      },
      androidTestLoop: {},
      testTimeout: {nanos: 0, seconds: ''}
    },
    iosTest: {
      iosAppInfo: {name: ''},
      iosRoboTest: {},
      iosTestLoop: {bundleId: ''},
      iosXcTest: {bundleId: '', xcodeVersion: ''},
      testTimeout: {}
    }
  },
  state: '',
  testExecutionMatrixId: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId',
  headers: {'content-type': 'application/json'},
  body: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    dimensionDefinitions: [{}],
    executionId: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    specification: {
      androidTest: {
        androidAppInfo: {name: '', packageName: '', versionCode: '', versionName: ''},
        androidInstrumentationTest: {
          testPackageId: '',
          testRunnerClass: '',
          testTargets: [],
          useOrchestrator: false
        },
        androidRoboTest: {
          appInitialActivity: '',
          bootstrapPackageId: '',
          bootstrapRunnerClass: '',
          maxDepth: 0,
          maxSteps: 0
        },
        androidTestLoop: {},
        testTimeout: {nanos: 0, seconds: ''}
      },
      iosTest: {
        iosAppInfo: {name: ''},
        iosRoboTest: {},
        iosTestLoop: {bundleId: ''},
        iosXcTest: {bundleId: '', xcodeVersion: ''},
        testTimeout: {}
      }
    },
    state: '',
    testExecutionMatrixId: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('PATCH', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  completionTime: {
    nanos: 0,
    seconds: ''
  },
  creationTime: {},
  dimensionDefinitions: [
    {}
  ],
  executionId: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {
      abortedByUser: false,
      hasErrorLogs: false,
      infrastructureFailure: false
    },
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {
      otherNativeCrash: false
    },
    summary: ''
  },
  specification: {
    androidTest: {
      androidAppInfo: {
        name: '',
        packageName: '',
        versionCode: '',
        versionName: ''
      },
      androidInstrumentationTest: {
        testPackageId: '',
        testRunnerClass: '',
        testTargets: [],
        useOrchestrator: false
      },
      androidRoboTest: {
        appInitialActivity: '',
        bootstrapPackageId: '',
        bootstrapRunnerClass: '',
        maxDepth: 0,
        maxSteps: 0
      },
      androidTestLoop: {},
      testTimeout: {
        nanos: 0,
        seconds: ''
      }
    },
    iosTest: {
      iosAppInfo: {
        name: ''
      },
      iosRoboTest: {},
      iosTestLoop: {
        bundleId: ''
      },
      iosXcTest: {
        bundleId: '',
        xcodeVersion: ''
      },
      testTimeout: {}
    }
  },
  state: '',
  testExecutionMatrixId: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId',
  headers: {'content-type': 'application/json'},
  data: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    dimensionDefinitions: [{}],
    executionId: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    specification: {
      androidTest: {
        androidAppInfo: {name: '', packageName: '', versionCode: '', versionName: ''},
        androidInstrumentationTest: {
          testPackageId: '',
          testRunnerClass: '',
          testTargets: [],
          useOrchestrator: false
        },
        androidRoboTest: {
          appInitialActivity: '',
          bootstrapPackageId: '',
          bootstrapRunnerClass: '',
          maxDepth: 0,
          maxSteps: 0
        },
        androidTestLoop: {},
        testTimeout: {nanos: 0, seconds: ''}
      },
      iosTest: {
        iosAppInfo: {name: ''},
        iosRoboTest: {},
        iosTestLoop: {bundleId: ''},
        iosXcTest: {bundleId: '', xcodeVersion: ''},
        testTimeout: {}
      }
    },
    state: '',
    testExecutionMatrixId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"completionTime":{"nanos":0,"seconds":""},"creationTime":{},"dimensionDefinitions":[{}],"executionId":"","outcome":{"failureDetail":{"crashed":false,"deviceOutOfMemory":false,"failedRoboscript":false,"notInstalled":false,"otherNativeCrash":false,"timedOut":false,"unableToCrawl":false},"inconclusiveDetail":{"abortedByUser":false,"hasErrorLogs":false,"infrastructureFailure":false},"skippedDetail":{"incompatibleAppVersion":false,"incompatibleArchitecture":false,"incompatibleDevice":false},"successDetail":{"otherNativeCrash":false},"summary":""},"specification":{"androidTest":{"androidAppInfo":{"name":"","packageName":"","versionCode":"","versionName":""},"androidInstrumentationTest":{"testPackageId":"","testRunnerClass":"","testTargets":[],"useOrchestrator":false},"androidRoboTest":{"appInitialActivity":"","bootstrapPackageId":"","bootstrapRunnerClass":"","maxDepth":0,"maxSteps":0},"androidTestLoop":{},"testTimeout":{"nanos":0,"seconds":""}},"iosTest":{"iosAppInfo":{"name":""},"iosRoboTest":{},"iosTestLoop":{"bundleId":""},"iosXcTest":{"bundleId":"","xcodeVersion":""},"testTimeout":{}}},"state":"","testExecutionMatrixId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"completionTime": @{ @"nanos": @0, @"seconds": @"" },
                              @"creationTime": @{  },
                              @"dimensionDefinitions": @[ @{  } ],
                              @"executionId": @"",
                              @"outcome": @{ @"failureDetail": @{ @"crashed": @NO, @"deviceOutOfMemory": @NO, @"failedRoboscript": @NO, @"notInstalled": @NO, @"otherNativeCrash": @NO, @"timedOut": @NO, @"unableToCrawl": @NO }, @"inconclusiveDetail": @{ @"abortedByUser": @NO, @"hasErrorLogs": @NO, @"infrastructureFailure": @NO }, @"skippedDetail": @{ @"incompatibleAppVersion": @NO, @"incompatibleArchitecture": @NO, @"incompatibleDevice": @NO }, @"successDetail": @{ @"otherNativeCrash": @NO }, @"summary": @"" },
                              @"specification": @{ @"androidTest": @{ @"androidAppInfo": @{ @"name": @"", @"packageName": @"", @"versionCode": @"", @"versionName": @"" }, @"androidInstrumentationTest": @{ @"testPackageId": @"", @"testRunnerClass": @"", @"testTargets": @[  ], @"useOrchestrator": @NO }, @"androidRoboTest": @{ @"appInitialActivity": @"", @"bootstrapPackageId": @"", @"bootstrapRunnerClass": @"", @"maxDepth": @0, @"maxSteps": @0 }, @"androidTestLoop": @{  }, @"testTimeout": @{ @"nanos": @0, @"seconds": @"" } }, @"iosTest": @{ @"iosAppInfo": @{ @"name": @"" }, @"iosRoboTest": @{  }, @"iosTestLoop": @{ @"bundleId": @"" }, @"iosXcTest": @{ @"bundleId": @"", @"xcodeVersion": @"" }, @"testTimeout": @{  } } },
                              @"state": @"",
                              @"testExecutionMatrixId": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"PATCH"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}" in

Client.call ~headers ~body `PATCH uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PATCH",
  CURLOPT_POSTFIELDS => json_encode([
    'completionTime' => [
        'nanos' => 0,
        'seconds' => ''
    ],
    'creationTime' => [
        
    ],
    'dimensionDefinitions' => [
        [
                
        ]
    ],
    'executionId' => '',
    'outcome' => [
        'failureDetail' => [
                'crashed' => null,
                'deviceOutOfMemory' => null,
                'failedRoboscript' => null,
                'notInstalled' => null,
                'otherNativeCrash' => null,
                'timedOut' => null,
                'unableToCrawl' => null
        ],
        'inconclusiveDetail' => [
                'abortedByUser' => null,
                'hasErrorLogs' => null,
                'infrastructureFailure' => null
        ],
        'skippedDetail' => [
                'incompatibleAppVersion' => null,
                'incompatibleArchitecture' => null,
                'incompatibleDevice' => null
        ],
        'successDetail' => [
                'otherNativeCrash' => null
        ],
        'summary' => ''
    ],
    'specification' => [
        'androidTest' => [
                'androidAppInfo' => [
                                'name' => '',
                                'packageName' => '',
                                'versionCode' => '',
                                'versionName' => ''
                ],
                'androidInstrumentationTest' => [
                                'testPackageId' => '',
                                'testRunnerClass' => '',
                                'testTargets' => [
                                                                
                                ],
                                'useOrchestrator' => null
                ],
                'androidRoboTest' => [
                                'appInitialActivity' => '',
                                'bootstrapPackageId' => '',
                                'bootstrapRunnerClass' => '',
                                'maxDepth' => 0,
                                'maxSteps' => 0
                ],
                'androidTestLoop' => [
                                
                ],
                'testTimeout' => [
                                'nanos' => 0,
                                'seconds' => ''
                ]
        ],
        'iosTest' => [
                'iosAppInfo' => [
                                'name' => ''
                ],
                'iosRoboTest' => [
                                
                ],
                'iosTestLoop' => [
                                'bundleId' => ''
                ],
                'iosXcTest' => [
                                'bundleId' => '',
                                'xcodeVersion' => ''
                ],
                'testTimeout' => [
                                
                ]
        ]
    ],
    'state' => '',
    'testExecutionMatrixId' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('PATCH', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId', [
  'body' => '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId');
$request->setMethod(HttpRequest::HTTP_METH_PATCH);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'completionTime' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'creationTime' => [
    
  ],
  'dimensionDefinitions' => [
    [
        
    ]
  ],
  'executionId' => '',
  'outcome' => [
    'failureDetail' => [
        'crashed' => null,
        'deviceOutOfMemory' => null,
        'failedRoboscript' => null,
        'notInstalled' => null,
        'otherNativeCrash' => null,
        'timedOut' => null,
        'unableToCrawl' => null
    ],
    'inconclusiveDetail' => [
        'abortedByUser' => null,
        'hasErrorLogs' => null,
        'infrastructureFailure' => null
    ],
    'skippedDetail' => [
        'incompatibleAppVersion' => null,
        'incompatibleArchitecture' => null,
        'incompatibleDevice' => null
    ],
    'successDetail' => [
        'otherNativeCrash' => null
    ],
    'summary' => ''
  ],
  'specification' => [
    'androidTest' => [
        'androidAppInfo' => [
                'name' => '',
                'packageName' => '',
                'versionCode' => '',
                'versionName' => ''
        ],
        'androidInstrumentationTest' => [
                'testPackageId' => '',
                'testRunnerClass' => '',
                'testTargets' => [
                                
                ],
                'useOrchestrator' => null
        ],
        'androidRoboTest' => [
                'appInitialActivity' => '',
                'bootstrapPackageId' => '',
                'bootstrapRunnerClass' => '',
                'maxDepth' => 0,
                'maxSteps' => 0
        ],
        'androidTestLoop' => [
                
        ],
        'testTimeout' => [
                'nanos' => 0,
                'seconds' => ''
        ]
    ],
    'iosTest' => [
        'iosAppInfo' => [
                'name' => ''
        ],
        'iosRoboTest' => [
                
        ],
        'iosTestLoop' => [
                'bundleId' => ''
        ],
        'iosXcTest' => [
                'bundleId' => '',
                'xcodeVersion' => ''
        ],
        'testTimeout' => [
                
        ]
    ]
  ],
  'state' => '',
  'testExecutionMatrixId' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'completionTime' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'creationTime' => [
    
  ],
  'dimensionDefinitions' => [
    [
        
    ]
  ],
  'executionId' => '',
  'outcome' => [
    'failureDetail' => [
        'crashed' => null,
        'deviceOutOfMemory' => null,
        'failedRoboscript' => null,
        'notInstalled' => null,
        'otherNativeCrash' => null,
        'timedOut' => null,
        'unableToCrawl' => null
    ],
    'inconclusiveDetail' => [
        'abortedByUser' => null,
        'hasErrorLogs' => null,
        'infrastructureFailure' => null
    ],
    'skippedDetail' => [
        'incompatibleAppVersion' => null,
        'incompatibleArchitecture' => null,
        'incompatibleDevice' => null
    ],
    'successDetail' => [
        'otherNativeCrash' => null
    ],
    'summary' => ''
  ],
  'specification' => [
    'androidTest' => [
        'androidAppInfo' => [
                'name' => '',
                'packageName' => '',
                'versionCode' => '',
                'versionName' => ''
        ],
        'androidInstrumentationTest' => [
                'testPackageId' => '',
                'testRunnerClass' => '',
                'testTargets' => [
                                
                ],
                'useOrchestrator' => null
        ],
        'androidRoboTest' => [
                'appInitialActivity' => '',
                'bootstrapPackageId' => '',
                'bootstrapRunnerClass' => '',
                'maxDepth' => 0,
                'maxSteps' => 0
        ],
        'androidTestLoop' => [
                
        ],
        'testTimeout' => [
                'nanos' => 0,
                'seconds' => ''
        ]
    ],
    'iosTest' => [
        'iosAppInfo' => [
                'name' => ''
        ],
        'iosRoboTest' => [
                
        ],
        'iosTestLoop' => [
                'bundleId' => ''
        ],
        'iosXcTest' => [
                'bundleId' => '',
                'xcodeVersion' => ''
        ],
        'testTimeout' => [
                
        ]
    ]
  ],
  'state' => '',
  'testExecutionMatrixId' => ''
]));
$request->setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId');
$request->setRequestMethod('PATCH');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("PATCH", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"

payload = {
    "completionTime": {
        "nanos": 0,
        "seconds": ""
    },
    "creationTime": {},
    "dimensionDefinitions": [{}],
    "executionId": "",
    "outcome": {
        "failureDetail": {
            "crashed": False,
            "deviceOutOfMemory": False,
            "failedRoboscript": False,
            "notInstalled": False,
            "otherNativeCrash": False,
            "timedOut": False,
            "unableToCrawl": False
        },
        "inconclusiveDetail": {
            "abortedByUser": False,
            "hasErrorLogs": False,
            "infrastructureFailure": False
        },
        "skippedDetail": {
            "incompatibleAppVersion": False,
            "incompatibleArchitecture": False,
            "incompatibleDevice": False
        },
        "successDetail": { "otherNativeCrash": False },
        "summary": ""
    },
    "specification": {
        "androidTest": {
            "androidAppInfo": {
                "name": "",
                "packageName": "",
                "versionCode": "",
                "versionName": ""
            },
            "androidInstrumentationTest": {
                "testPackageId": "",
                "testRunnerClass": "",
                "testTargets": [],
                "useOrchestrator": False
            },
            "androidRoboTest": {
                "appInitialActivity": "",
                "bootstrapPackageId": "",
                "bootstrapRunnerClass": "",
                "maxDepth": 0,
                "maxSteps": 0
            },
            "androidTestLoop": {},
            "testTimeout": {
                "nanos": 0,
                "seconds": ""
            }
        },
        "iosTest": {
            "iosAppInfo": { "name": "" },
            "iosRoboTest": {},
            "iosTestLoop": { "bundleId": "" },
            "iosXcTest": {
                "bundleId": "",
                "xcodeVersion": ""
            },
            "testTimeout": {}
        }
    },
    "state": "",
    "testExecutionMatrixId": ""
}
headers = {"content-type": "application/json"}

response = requests.patch(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId"

payload <- "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"

encode <- "json"

response <- VERB("PATCH", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.patch('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId') do |req|
  req.body = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"dimensionDefinitions\": [\n    {}\n  ],\n  \"executionId\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"specification\": {\n    \"androidTest\": {\n      \"androidAppInfo\": {\n        \"name\": \"\",\n        \"packageName\": \"\",\n        \"versionCode\": \"\",\n        \"versionName\": \"\"\n      },\n      \"androidInstrumentationTest\": {\n        \"testPackageId\": \"\",\n        \"testRunnerClass\": \"\",\n        \"testTargets\": [],\n        \"useOrchestrator\": false\n      },\n      \"androidRoboTest\": {\n        \"appInitialActivity\": \"\",\n        \"bootstrapPackageId\": \"\",\n        \"bootstrapRunnerClass\": \"\",\n        \"maxDepth\": 0,\n        \"maxSteps\": 0\n      },\n      \"androidTestLoop\": {},\n      \"testTimeout\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      }\n    },\n    \"iosTest\": {\n      \"iosAppInfo\": {\n        \"name\": \"\"\n      },\n      \"iosRoboTest\": {},\n      \"iosTestLoop\": {\n        \"bundleId\": \"\"\n      },\n      \"iosXcTest\": {\n        \"bundleId\": \"\",\n        \"xcodeVersion\": \"\"\n      },\n      \"testTimeout\": {}\n    }\n  },\n  \"state\": \"\",\n  \"testExecutionMatrixId\": \"\"\n}"
end

puts response.status
puts response.body
use std::str::FromStr;
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId";

    let payload = json!({
        "completionTime": json!({
            "nanos": 0,
            "seconds": ""
        }),
        "creationTime": json!({}),
        "dimensionDefinitions": (json!({})),
        "executionId": "",
        "outcome": json!({
            "failureDetail": json!({
                "crashed": false,
                "deviceOutOfMemory": false,
                "failedRoboscript": false,
                "notInstalled": false,
                "otherNativeCrash": false,
                "timedOut": false,
                "unableToCrawl": false
            }),
            "inconclusiveDetail": json!({
                "abortedByUser": false,
                "hasErrorLogs": false,
                "infrastructureFailure": false
            }),
            "skippedDetail": json!({
                "incompatibleAppVersion": false,
                "incompatibleArchitecture": false,
                "incompatibleDevice": false
            }),
            "successDetail": json!({"otherNativeCrash": false}),
            "summary": ""
        }),
        "specification": json!({
            "androidTest": json!({
                "androidAppInfo": json!({
                    "name": "",
                    "packageName": "",
                    "versionCode": "",
                    "versionName": ""
                }),
                "androidInstrumentationTest": json!({
                    "testPackageId": "",
                    "testRunnerClass": "",
                    "testTargets": (),
                    "useOrchestrator": false
                }),
                "androidRoboTest": json!({
                    "appInitialActivity": "",
                    "bootstrapPackageId": "",
                    "bootstrapRunnerClass": "",
                    "maxDepth": 0,
                    "maxSteps": 0
                }),
                "androidTestLoop": json!({}),
                "testTimeout": json!({
                    "nanos": 0,
                    "seconds": ""
                })
            }),
            "iosTest": json!({
                "iosAppInfo": json!({"name": ""}),
                "iosRoboTest": json!({}),
                "iosTestLoop": json!({"bundleId": ""}),
                "iosXcTest": json!({
                    "bundleId": "",
                    "xcodeVersion": ""
                }),
                "testTimeout": json!({})
            })
        }),
        "state": "",
        "testExecutionMatrixId": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("PATCH").unwrap(), url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request PATCH \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId \
  --header 'content-type: application/json' \
  --data '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}'
echo '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "dimensionDefinitions": [
    {}
  ],
  "executionId": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "specification": {
    "androidTest": {
      "androidAppInfo": {
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      },
      "androidInstrumentationTest": {
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      },
      "androidRoboTest": {
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      },
      "androidTestLoop": {},
      "testTimeout": {
        "nanos": 0,
        "seconds": ""
      }
    },
    "iosTest": {
      "iosAppInfo": {
        "name": ""
      },
      "iosRoboTest": {},
      "iosTestLoop": {
        "bundleId": ""
      },
      "iosXcTest": {
        "bundleId": "",
        "xcodeVersion": ""
      },
      "testTimeout": {}
    }
  },
  "state": "",
  "testExecutionMatrixId": ""
}' |  \
  http PATCH {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId \
  content-type:application/json
wget --quiet \
  --method PATCH \
  --header 'content-type: application/json' \
  --body-data '{\n  "completionTime": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "creationTime": {},\n  "dimensionDefinitions": [\n    {}\n  ],\n  "executionId": "",\n  "outcome": {\n    "failureDetail": {\n      "crashed": false,\n      "deviceOutOfMemory": false,\n      "failedRoboscript": false,\n      "notInstalled": false,\n      "otherNativeCrash": false,\n      "timedOut": false,\n      "unableToCrawl": false\n    },\n    "inconclusiveDetail": {\n      "abortedByUser": false,\n      "hasErrorLogs": false,\n      "infrastructureFailure": false\n    },\n    "skippedDetail": {\n      "incompatibleAppVersion": false,\n      "incompatibleArchitecture": false,\n      "incompatibleDevice": false\n    },\n    "successDetail": {\n      "otherNativeCrash": false\n    },\n    "summary": ""\n  },\n  "specification": {\n    "androidTest": {\n      "androidAppInfo": {\n        "name": "",\n        "packageName": "",\n        "versionCode": "",\n        "versionName": ""\n      },\n      "androidInstrumentationTest": {\n        "testPackageId": "",\n        "testRunnerClass": "",\n        "testTargets": [],\n        "useOrchestrator": false\n      },\n      "androidRoboTest": {\n        "appInitialActivity": "",\n        "bootstrapPackageId": "",\n        "bootstrapRunnerClass": "",\n        "maxDepth": 0,\n        "maxSteps": 0\n      },\n      "androidTestLoop": {},\n      "testTimeout": {\n        "nanos": 0,\n        "seconds": ""\n      }\n    },\n    "iosTest": {\n      "iosAppInfo": {\n        "name": ""\n      },\n      "iosRoboTest": {},\n      "iosTestLoop": {\n        "bundleId": ""\n      },\n      "iosXcTest": {\n        "bundleId": "",\n        "xcodeVersion": ""\n      },\n      "testTimeout": {}\n    }\n  },\n  "state": "",\n  "testExecutionMatrixId": ""\n}' \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "completionTime": [
    "nanos": 0,
    "seconds": ""
  ],
  "creationTime": [],
  "dimensionDefinitions": [[]],
  "executionId": "",
  "outcome": [
    "failureDetail": [
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    ],
    "inconclusiveDetail": [
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    ],
    "skippedDetail": [
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    ],
    "successDetail": ["otherNativeCrash": false],
    "summary": ""
  ],
  "specification": [
    "androidTest": [
      "androidAppInfo": [
        "name": "",
        "packageName": "",
        "versionCode": "",
        "versionName": ""
      ],
      "androidInstrumentationTest": [
        "testPackageId": "",
        "testRunnerClass": "",
        "testTargets": [],
        "useOrchestrator": false
      ],
      "androidRoboTest": [
        "appInitialActivity": "",
        "bootstrapPackageId": "",
        "bootstrapRunnerClass": "",
        "maxDepth": 0,
        "maxSteps": 0
      ],
      "androidTestLoop": [],
      "testTimeout": [
        "nanos": 0,
        "seconds": ""
      ]
    ],
    "iosTest": [
      "iosAppInfo": ["name": ""],
      "iosRoboTest": [],
      "iosTestLoop": ["bundleId": ""],
      "iosXcTest": [
        "bundleId": "",
        "xcodeVersion": ""
      ],
      "testTimeout": []
    ]
  ],
  "state": "",
  "testExecutionMatrixId": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.accessibilityClusters
{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters
QUERY PARAMS

name
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/:name:accessibilityClusters HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/:name:accessibilityClusters',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/:name:accessibilityClusters")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/:name:accessibilityClusters') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters
http GET {{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/:name:accessibilityClusters")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST toolresults.projects.histories.executions.steps.create
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps
QUERY PARAMS

projectId
historyId
executionId
BODY json

{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps" {:content-type :json
                                                                                                                                       :form-params {:completionTime {:nanos 0
                                                                                                                                                                      :seconds ""}
                                                                                                                                                     :creationTime {}
                                                                                                                                                     :description ""
                                                                                                                                                     :deviceUsageDuration {:nanos 0
                                                                                                                                                                           :seconds ""}
                                                                                                                                                     :dimensionValue [{:key ""
                                                                                                                                                                       :value ""}]
                                                                                                                                                     :hasImages false
                                                                                                                                                     :labels [{:key ""
                                                                                                                                                               :value ""}]
                                                                                                                                                     :multiStep {:multistepNumber 0
                                                                                                                                                                 :primaryStep {:individualOutcome [{:multistepNumber 0
                                                                                                                                                                                                    :outcomeSummary ""
                                                                                                                                                                                                    :runDuration {}
                                                                                                                                                                                                    :stepId ""}]
                                                                                                                                                                               :rollUp ""}
                                                                                                                                                                 :primaryStepId ""}
                                                                                                                                                     :name ""
                                                                                                                                                     :outcome {:failureDetail {:crashed false
                                                                                                                                                                               :deviceOutOfMemory false
                                                                                                                                                                               :failedRoboscript false
                                                                                                                                                                               :notInstalled false
                                                                                                                                                                               :otherNativeCrash false
                                                                                                                                                                               :timedOut false
                                                                                                                                                                               :unableToCrawl false}
                                                                                                                                                               :inconclusiveDetail {:abortedByUser false
                                                                                                                                                                                    :hasErrorLogs false
                                                                                                                                                                                    :infrastructureFailure false}
                                                                                                                                                               :skippedDetail {:incompatibleAppVersion false
                                                                                                                                                                               :incompatibleArchitecture false
                                                                                                                                                                               :incompatibleDevice false}
                                                                                                                                                               :successDetail {:otherNativeCrash false}
                                                                                                                                                               :summary ""}
                                                                                                                                                     :runDuration {}
                                                                                                                                                     :state ""
                                                                                                                                                     :stepId ""
                                                                                                                                                     :testExecutionStep {:testIssues [{:category ""
                                                                                                                                                                                       :errorMessage ""
                                                                                                                                                                                       :severity ""
                                                                                                                                                                                       :stackTrace {:exception ""}
                                                                                                                                                                                       :type ""
                                                                                                                                                                                       :warning {:typeUrl ""
                                                                                                                                                                                                 :value ""}}]
                                                                                                                                                                         :testSuiteOverviews [{:elapsedTime {}
                                                                                                                                                                                               :errorCount 0
                                                                                                                                                                                               :failureCount 0
                                                                                                                                                                                               :flakyCount 0
                                                                                                                                                                                               :name ""
                                                                                                                                                                                               :skippedCount 0
                                                                                                                                                                                               :totalCount 0
                                                                                                                                                                                               :xmlSource {:fileUri ""}}]
                                                                                                                                                                         :testTiming {:testProcessDuration {}}
                                                                                                                                                                         :toolExecution {:commandLineArguments []
                                                                                                                                                                                         :exitCode {:number 0}
                                                                                                                                                                                         :toolLogs [{}]
                                                                                                                                                                                         :toolOutputs [{:creationTime {}
                                                                                                                                                                                                        :output {}
                                                                                                                                                                                                        :testCase {:className ""
                                                                                                                                                                                                                   :name ""
                                                                                                                                                                                                                   :testSuiteName ""}}]}}
                                                                                                                                                     :toolExecutionStep {:toolExecution {}}}})
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"),
    Content = new StringContent("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"

	payload := strings.NewReader("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 2388

{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")
  .header("content-type", "application/json")
  .body("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")
  .asString();
const data = JSON.stringify({
  completionTime: {
    nanos: 0,
    seconds: ''
  },
  creationTime: {},
  description: '',
  deviceUsageDuration: {
    nanos: 0,
    seconds: ''
  },
  dimensionValue: [
    {
      key: '',
      value: ''
    }
  ],
  hasImages: false,
  labels: [
    {
      key: '',
      value: ''
    }
  ],
  multiStep: {
    multistepNumber: 0,
    primaryStep: {
      individualOutcome: [
        {
          multistepNumber: 0,
          outcomeSummary: '',
          runDuration: {},
          stepId: ''
        }
      ],
      rollUp: ''
    },
    primaryStepId: ''
  },
  name: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {
      abortedByUser: false,
      hasErrorLogs: false,
      infrastructureFailure: false
    },
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {
      otherNativeCrash: false
    },
    summary: ''
  },
  runDuration: {},
  state: '',
  stepId: '',
  testExecutionStep: {
    testIssues: [
      {
        category: '',
        errorMessage: '',
        severity: '',
        stackTrace: {
          exception: ''
        },
        type: '',
        warning: {
          typeUrl: '',
          value: ''
        }
      }
    ],
    testSuiteOverviews: [
      {
        elapsedTime: {},
        errorCount: 0,
        failureCount: 0,
        flakyCount: 0,
        name: '',
        skippedCount: 0,
        totalCount: 0,
        xmlSource: {
          fileUri: ''
        }
      }
    ],
    testTiming: {
      testProcessDuration: {}
    },
    toolExecution: {
      commandLineArguments: [],
      exitCode: {
        number: 0
      },
      toolLogs: [
        {}
      ],
      toolOutputs: [
        {
          creationTime: {},
          output: {},
          testCase: {
            className: '',
            name: '',
            testSuiteName: ''
          }
        }
      ]
    }
  },
  toolExecutionStep: {
    toolExecution: {}
  }
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps',
  headers: {'content-type': 'application/json'},
  data: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    description: '',
    deviceUsageDuration: {nanos: 0, seconds: ''},
    dimensionValue: [{key: '', value: ''}],
    hasImages: false,
    labels: [{key: '', value: ''}],
    multiStep: {
      multistepNumber: 0,
      primaryStep: {
        individualOutcome: [{multistepNumber: 0, outcomeSummary: '', runDuration: {}, stepId: ''}],
        rollUp: ''
      },
      primaryStepId: ''
    },
    name: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    runDuration: {},
    state: '',
    stepId: '',
    testExecutionStep: {
      testIssues: [
        {
          category: '',
          errorMessage: '',
          severity: '',
          stackTrace: {exception: ''},
          type: '',
          warning: {typeUrl: '', value: ''}
        }
      ],
      testSuiteOverviews: [
        {
          elapsedTime: {},
          errorCount: 0,
          failureCount: 0,
          flakyCount: 0,
          name: '',
          skippedCount: 0,
          totalCount: 0,
          xmlSource: {fileUri: ''}
        }
      ],
      testTiming: {testProcessDuration: {}},
      toolExecution: {
        commandLineArguments: [],
        exitCode: {number: 0},
        toolLogs: [{}],
        toolOutputs: [
          {
            creationTime: {},
            output: {},
            testCase: {className: '', name: '', testSuiteName: ''}
          }
        ]
      }
    },
    toolExecutionStep: {toolExecution: {}}
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"completionTime":{"nanos":0,"seconds":""},"creationTime":{},"description":"","deviceUsageDuration":{"nanos":0,"seconds":""},"dimensionValue":[{"key":"","value":""}],"hasImages":false,"labels":[{"key":"","value":""}],"multiStep":{"multistepNumber":0,"primaryStep":{"individualOutcome":[{"multistepNumber":0,"outcomeSummary":"","runDuration":{},"stepId":""}],"rollUp":""},"primaryStepId":""},"name":"","outcome":{"failureDetail":{"crashed":false,"deviceOutOfMemory":false,"failedRoboscript":false,"notInstalled":false,"otherNativeCrash":false,"timedOut":false,"unableToCrawl":false},"inconclusiveDetail":{"abortedByUser":false,"hasErrorLogs":false,"infrastructureFailure":false},"skippedDetail":{"incompatibleAppVersion":false,"incompatibleArchitecture":false,"incompatibleDevice":false},"successDetail":{"otherNativeCrash":false},"summary":""},"runDuration":{},"state":"","stepId":"","testExecutionStep":{"testIssues":[{"category":"","errorMessage":"","severity":"","stackTrace":{"exception":""},"type":"","warning":{"typeUrl":"","value":""}}],"testSuiteOverviews":[{"elapsedTime":{},"errorCount":0,"failureCount":0,"flakyCount":0,"name":"","skippedCount":0,"totalCount":0,"xmlSource":{"fileUri":""}}],"testTiming":{"testProcessDuration":{}},"toolExecution":{"commandLineArguments":[],"exitCode":{"number":0},"toolLogs":[{}],"toolOutputs":[{"creationTime":{},"output":{},"testCase":{"className":"","name":"","testSuiteName":""}}]}},"toolExecutionStep":{"toolExecution":{}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "completionTime": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "creationTime": {},\n  "description": "",\n  "deviceUsageDuration": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "dimensionValue": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ],\n  "hasImages": false,\n  "labels": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ],\n  "multiStep": {\n    "multistepNumber": 0,\n    "primaryStep": {\n      "individualOutcome": [\n        {\n          "multistepNumber": 0,\n          "outcomeSummary": "",\n          "runDuration": {},\n          "stepId": ""\n        }\n      ],\n      "rollUp": ""\n    },\n    "primaryStepId": ""\n  },\n  "name": "",\n  "outcome": {\n    "failureDetail": {\n      "crashed": false,\n      "deviceOutOfMemory": false,\n      "failedRoboscript": false,\n      "notInstalled": false,\n      "otherNativeCrash": false,\n      "timedOut": false,\n      "unableToCrawl": false\n    },\n    "inconclusiveDetail": {\n      "abortedByUser": false,\n      "hasErrorLogs": false,\n      "infrastructureFailure": false\n    },\n    "skippedDetail": {\n      "incompatibleAppVersion": false,\n      "incompatibleArchitecture": false,\n      "incompatibleDevice": false\n    },\n    "successDetail": {\n      "otherNativeCrash": false\n    },\n    "summary": ""\n  },\n  "runDuration": {},\n  "state": "",\n  "stepId": "",\n  "testExecutionStep": {\n    "testIssues": [\n      {\n        "category": "",\n        "errorMessage": "",\n        "severity": "",\n        "stackTrace": {\n          "exception": ""\n        },\n        "type": "",\n        "warning": {\n          "typeUrl": "",\n          "value": ""\n        }\n      }\n    ],\n    "testSuiteOverviews": [\n      {\n        "elapsedTime": {},\n        "errorCount": 0,\n        "failureCount": 0,\n        "flakyCount": 0,\n        "name": "",\n        "skippedCount": 0,\n        "totalCount": 0,\n        "xmlSource": {\n          "fileUri": ""\n        }\n      }\n    ],\n    "testTiming": {\n      "testProcessDuration": {}\n    },\n    "toolExecution": {\n      "commandLineArguments": [],\n      "exitCode": {\n        "number": 0\n      },\n      "toolLogs": [\n        {}\n      ],\n      "toolOutputs": [\n        {\n          "creationTime": {},\n          "output": {},\n          "testCase": {\n            "className": "",\n            "name": "",\n            "testSuiteName": ""\n          }\n        }\n      ]\n    }\n  },\n  "toolExecutionStep": {\n    "toolExecution": {}\n  }\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  completionTime: {nanos: 0, seconds: ''},
  creationTime: {},
  description: '',
  deviceUsageDuration: {nanos: 0, seconds: ''},
  dimensionValue: [{key: '', value: ''}],
  hasImages: false,
  labels: [{key: '', value: ''}],
  multiStep: {
    multistepNumber: 0,
    primaryStep: {
      individualOutcome: [{multistepNumber: 0, outcomeSummary: '', runDuration: {}, stepId: ''}],
      rollUp: ''
    },
    primaryStepId: ''
  },
  name: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {otherNativeCrash: false},
    summary: ''
  },
  runDuration: {},
  state: '',
  stepId: '',
  testExecutionStep: {
    testIssues: [
      {
        category: '',
        errorMessage: '',
        severity: '',
        stackTrace: {exception: ''},
        type: '',
        warning: {typeUrl: '', value: ''}
      }
    ],
    testSuiteOverviews: [
      {
        elapsedTime: {},
        errorCount: 0,
        failureCount: 0,
        flakyCount: 0,
        name: '',
        skippedCount: 0,
        totalCount: 0,
        xmlSource: {fileUri: ''}
      }
    ],
    testTiming: {testProcessDuration: {}},
    toolExecution: {
      commandLineArguments: [],
      exitCode: {number: 0},
      toolLogs: [{}],
      toolOutputs: [
        {
          creationTime: {},
          output: {},
          testCase: {className: '', name: '', testSuiteName: ''}
        }
      ]
    }
  },
  toolExecutionStep: {toolExecution: {}}
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps',
  headers: {'content-type': 'application/json'},
  body: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    description: '',
    deviceUsageDuration: {nanos: 0, seconds: ''},
    dimensionValue: [{key: '', value: ''}],
    hasImages: false,
    labels: [{key: '', value: ''}],
    multiStep: {
      multistepNumber: 0,
      primaryStep: {
        individualOutcome: [{multistepNumber: 0, outcomeSummary: '', runDuration: {}, stepId: ''}],
        rollUp: ''
      },
      primaryStepId: ''
    },
    name: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    runDuration: {},
    state: '',
    stepId: '',
    testExecutionStep: {
      testIssues: [
        {
          category: '',
          errorMessage: '',
          severity: '',
          stackTrace: {exception: ''},
          type: '',
          warning: {typeUrl: '', value: ''}
        }
      ],
      testSuiteOverviews: [
        {
          elapsedTime: {},
          errorCount: 0,
          failureCount: 0,
          flakyCount: 0,
          name: '',
          skippedCount: 0,
          totalCount: 0,
          xmlSource: {fileUri: ''}
        }
      ],
      testTiming: {testProcessDuration: {}},
      toolExecution: {
        commandLineArguments: [],
        exitCode: {number: 0},
        toolLogs: [{}],
        toolOutputs: [
          {
            creationTime: {},
            output: {},
            testCase: {className: '', name: '', testSuiteName: ''}
          }
        ]
      }
    },
    toolExecutionStep: {toolExecution: {}}
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  completionTime: {
    nanos: 0,
    seconds: ''
  },
  creationTime: {},
  description: '',
  deviceUsageDuration: {
    nanos: 0,
    seconds: ''
  },
  dimensionValue: [
    {
      key: '',
      value: ''
    }
  ],
  hasImages: false,
  labels: [
    {
      key: '',
      value: ''
    }
  ],
  multiStep: {
    multistepNumber: 0,
    primaryStep: {
      individualOutcome: [
        {
          multistepNumber: 0,
          outcomeSummary: '',
          runDuration: {},
          stepId: ''
        }
      ],
      rollUp: ''
    },
    primaryStepId: ''
  },
  name: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {
      abortedByUser: false,
      hasErrorLogs: false,
      infrastructureFailure: false
    },
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {
      otherNativeCrash: false
    },
    summary: ''
  },
  runDuration: {},
  state: '',
  stepId: '',
  testExecutionStep: {
    testIssues: [
      {
        category: '',
        errorMessage: '',
        severity: '',
        stackTrace: {
          exception: ''
        },
        type: '',
        warning: {
          typeUrl: '',
          value: ''
        }
      }
    ],
    testSuiteOverviews: [
      {
        elapsedTime: {},
        errorCount: 0,
        failureCount: 0,
        flakyCount: 0,
        name: '',
        skippedCount: 0,
        totalCount: 0,
        xmlSource: {
          fileUri: ''
        }
      }
    ],
    testTiming: {
      testProcessDuration: {}
    },
    toolExecution: {
      commandLineArguments: [],
      exitCode: {
        number: 0
      },
      toolLogs: [
        {}
      ],
      toolOutputs: [
        {
          creationTime: {},
          output: {},
          testCase: {
            className: '',
            name: '',
            testSuiteName: ''
          }
        }
      ]
    }
  },
  toolExecutionStep: {
    toolExecution: {}
  }
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps',
  headers: {'content-type': 'application/json'},
  data: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    description: '',
    deviceUsageDuration: {nanos: 0, seconds: ''},
    dimensionValue: [{key: '', value: ''}],
    hasImages: false,
    labels: [{key: '', value: ''}],
    multiStep: {
      multistepNumber: 0,
      primaryStep: {
        individualOutcome: [{multistepNumber: 0, outcomeSummary: '', runDuration: {}, stepId: ''}],
        rollUp: ''
      },
      primaryStepId: ''
    },
    name: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    runDuration: {},
    state: '',
    stepId: '',
    testExecutionStep: {
      testIssues: [
        {
          category: '',
          errorMessage: '',
          severity: '',
          stackTrace: {exception: ''},
          type: '',
          warning: {typeUrl: '', value: ''}
        }
      ],
      testSuiteOverviews: [
        {
          elapsedTime: {},
          errorCount: 0,
          failureCount: 0,
          flakyCount: 0,
          name: '',
          skippedCount: 0,
          totalCount: 0,
          xmlSource: {fileUri: ''}
        }
      ],
      testTiming: {testProcessDuration: {}},
      toolExecution: {
        commandLineArguments: [],
        exitCode: {number: 0},
        toolLogs: [{}],
        toolOutputs: [
          {
            creationTime: {},
            output: {},
            testCase: {className: '', name: '', testSuiteName: ''}
          }
        ]
      }
    },
    toolExecutionStep: {toolExecution: {}}
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"completionTime":{"nanos":0,"seconds":""},"creationTime":{},"description":"","deviceUsageDuration":{"nanos":0,"seconds":""},"dimensionValue":[{"key":"","value":""}],"hasImages":false,"labels":[{"key":"","value":""}],"multiStep":{"multistepNumber":0,"primaryStep":{"individualOutcome":[{"multistepNumber":0,"outcomeSummary":"","runDuration":{},"stepId":""}],"rollUp":""},"primaryStepId":""},"name":"","outcome":{"failureDetail":{"crashed":false,"deviceOutOfMemory":false,"failedRoboscript":false,"notInstalled":false,"otherNativeCrash":false,"timedOut":false,"unableToCrawl":false},"inconclusiveDetail":{"abortedByUser":false,"hasErrorLogs":false,"infrastructureFailure":false},"skippedDetail":{"incompatibleAppVersion":false,"incompatibleArchitecture":false,"incompatibleDevice":false},"successDetail":{"otherNativeCrash":false},"summary":""},"runDuration":{},"state":"","stepId":"","testExecutionStep":{"testIssues":[{"category":"","errorMessage":"","severity":"","stackTrace":{"exception":""},"type":"","warning":{"typeUrl":"","value":""}}],"testSuiteOverviews":[{"elapsedTime":{},"errorCount":0,"failureCount":0,"flakyCount":0,"name":"","skippedCount":0,"totalCount":0,"xmlSource":{"fileUri":""}}],"testTiming":{"testProcessDuration":{}},"toolExecution":{"commandLineArguments":[],"exitCode":{"number":0},"toolLogs":[{}],"toolOutputs":[{"creationTime":{},"output":{},"testCase":{"className":"","name":"","testSuiteName":""}}]}},"toolExecutionStep":{"toolExecution":{}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"completionTime": @{ @"nanos": @0, @"seconds": @"" },
                              @"creationTime": @{  },
                              @"description": @"",
                              @"deviceUsageDuration": @{ @"nanos": @0, @"seconds": @"" },
                              @"dimensionValue": @[ @{ @"key": @"", @"value": @"" } ],
                              @"hasImages": @NO,
                              @"labels": @[ @{ @"key": @"", @"value": @"" } ],
                              @"multiStep": @{ @"multistepNumber": @0, @"primaryStep": @{ @"individualOutcome": @[ @{ @"multistepNumber": @0, @"outcomeSummary": @"", @"runDuration": @{  }, @"stepId": @"" } ], @"rollUp": @"" }, @"primaryStepId": @"" },
                              @"name": @"",
                              @"outcome": @{ @"failureDetail": @{ @"crashed": @NO, @"deviceOutOfMemory": @NO, @"failedRoboscript": @NO, @"notInstalled": @NO, @"otherNativeCrash": @NO, @"timedOut": @NO, @"unableToCrawl": @NO }, @"inconclusiveDetail": @{ @"abortedByUser": @NO, @"hasErrorLogs": @NO, @"infrastructureFailure": @NO }, @"skippedDetail": @{ @"incompatibleAppVersion": @NO, @"incompatibleArchitecture": @NO, @"incompatibleDevice": @NO }, @"successDetail": @{ @"otherNativeCrash": @NO }, @"summary": @"" },
                              @"runDuration": @{  },
                              @"state": @"",
                              @"stepId": @"",
                              @"testExecutionStep": @{ @"testIssues": @[ @{ @"category": @"", @"errorMessage": @"", @"severity": @"", @"stackTrace": @{ @"exception": @"" }, @"type": @"", @"warning": @{ @"typeUrl": @"", @"value": @"" } } ], @"testSuiteOverviews": @[ @{ @"elapsedTime": @{  }, @"errorCount": @0, @"failureCount": @0, @"flakyCount": @0, @"name": @"", @"skippedCount": @0, @"totalCount": @0, @"xmlSource": @{ @"fileUri": @"" } } ], @"testTiming": @{ @"testProcessDuration": @{  } }, @"toolExecution": @{ @"commandLineArguments": @[  ], @"exitCode": @{ @"number": @0 }, @"toolLogs": @[ @{  } ], @"toolOutputs": @[ @{ @"creationTime": @{  }, @"output": @{  }, @"testCase": @{ @"className": @"", @"name": @"", @"testSuiteName": @"" } } ] } },
                              @"toolExecutionStep": @{ @"toolExecution": @{  } } };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'completionTime' => [
        'nanos' => 0,
        'seconds' => ''
    ],
    'creationTime' => [
        
    ],
    'description' => '',
    'deviceUsageDuration' => [
        'nanos' => 0,
        'seconds' => ''
    ],
    'dimensionValue' => [
        [
                'key' => '',
                'value' => ''
        ]
    ],
    'hasImages' => null,
    'labels' => [
        [
                'key' => '',
                'value' => ''
        ]
    ],
    'multiStep' => [
        'multistepNumber' => 0,
        'primaryStep' => [
                'individualOutcome' => [
                                [
                                                                'multistepNumber' => 0,
                                                                'outcomeSummary' => '',
                                                                'runDuration' => [
                                                                                                                                
                                                                ],
                                                                'stepId' => ''
                                ]
                ],
                'rollUp' => ''
        ],
        'primaryStepId' => ''
    ],
    'name' => '',
    'outcome' => [
        'failureDetail' => [
                'crashed' => null,
                'deviceOutOfMemory' => null,
                'failedRoboscript' => null,
                'notInstalled' => null,
                'otherNativeCrash' => null,
                'timedOut' => null,
                'unableToCrawl' => null
        ],
        'inconclusiveDetail' => [
                'abortedByUser' => null,
                'hasErrorLogs' => null,
                'infrastructureFailure' => null
        ],
        'skippedDetail' => [
                'incompatibleAppVersion' => null,
                'incompatibleArchitecture' => null,
                'incompatibleDevice' => null
        ],
        'successDetail' => [
                'otherNativeCrash' => null
        ],
        'summary' => ''
    ],
    'runDuration' => [
        
    ],
    'state' => '',
    'stepId' => '',
    'testExecutionStep' => [
        'testIssues' => [
                [
                                'category' => '',
                                'errorMessage' => '',
                                'severity' => '',
                                'stackTrace' => [
                                                                'exception' => ''
                                ],
                                'type' => '',
                                'warning' => [
                                                                'typeUrl' => '',
                                                                'value' => ''
                                ]
                ]
        ],
        'testSuiteOverviews' => [
                [
                                'elapsedTime' => [
                                                                
                                ],
                                'errorCount' => 0,
                                'failureCount' => 0,
                                'flakyCount' => 0,
                                'name' => '',
                                'skippedCount' => 0,
                                'totalCount' => 0,
                                'xmlSource' => [
                                                                'fileUri' => ''
                                ]
                ]
        ],
        'testTiming' => [
                'testProcessDuration' => [
                                
                ]
        ],
        'toolExecution' => [
                'commandLineArguments' => [
                                
                ],
                'exitCode' => [
                                'number' => 0
                ],
                'toolLogs' => [
                                [
                                                                
                                ]
                ],
                'toolOutputs' => [
                                [
                                                                'creationTime' => [
                                                                                                                                
                                                                ],
                                                                'output' => [
                                                                                                                                
                                                                ],
                                                                'testCase' => [
                                                                                                                                'className' => '',
                                                                                                                                'name' => '',
                                                                                                                                'testSuiteName' => ''
                                                                ]
                                ]
                ]
        ]
    ],
    'toolExecutionStep' => [
        'toolExecution' => [
                
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps', [
  'body' => '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'completionTime' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'creationTime' => [
    
  ],
  'description' => '',
  'deviceUsageDuration' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'dimensionValue' => [
    [
        'key' => '',
        'value' => ''
    ]
  ],
  'hasImages' => null,
  'labels' => [
    [
        'key' => '',
        'value' => ''
    ]
  ],
  'multiStep' => [
    'multistepNumber' => 0,
    'primaryStep' => [
        'individualOutcome' => [
                [
                                'multistepNumber' => 0,
                                'outcomeSummary' => '',
                                'runDuration' => [
                                                                
                                ],
                                'stepId' => ''
                ]
        ],
        'rollUp' => ''
    ],
    'primaryStepId' => ''
  ],
  'name' => '',
  'outcome' => [
    'failureDetail' => [
        'crashed' => null,
        'deviceOutOfMemory' => null,
        'failedRoboscript' => null,
        'notInstalled' => null,
        'otherNativeCrash' => null,
        'timedOut' => null,
        'unableToCrawl' => null
    ],
    'inconclusiveDetail' => [
        'abortedByUser' => null,
        'hasErrorLogs' => null,
        'infrastructureFailure' => null
    ],
    'skippedDetail' => [
        'incompatibleAppVersion' => null,
        'incompatibleArchitecture' => null,
        'incompatibleDevice' => null
    ],
    'successDetail' => [
        'otherNativeCrash' => null
    ],
    'summary' => ''
  ],
  'runDuration' => [
    
  ],
  'state' => '',
  'stepId' => '',
  'testExecutionStep' => [
    'testIssues' => [
        [
                'category' => '',
                'errorMessage' => '',
                'severity' => '',
                'stackTrace' => [
                                'exception' => ''
                ],
                'type' => '',
                'warning' => [
                                'typeUrl' => '',
                                'value' => ''
                ]
        ]
    ],
    'testSuiteOverviews' => [
        [
                'elapsedTime' => [
                                
                ],
                'errorCount' => 0,
                'failureCount' => 0,
                'flakyCount' => 0,
                'name' => '',
                'skippedCount' => 0,
                'totalCount' => 0,
                'xmlSource' => [
                                'fileUri' => ''
                ]
        ]
    ],
    'testTiming' => [
        'testProcessDuration' => [
                
        ]
    ],
    'toolExecution' => [
        'commandLineArguments' => [
                
        ],
        'exitCode' => [
                'number' => 0
        ],
        'toolLogs' => [
                [
                                
                ]
        ],
        'toolOutputs' => [
                [
                                'creationTime' => [
                                                                
                                ],
                                'output' => [
                                                                
                                ],
                                'testCase' => [
                                                                'className' => '',
                                                                'name' => '',
                                                                'testSuiteName' => ''
                                ]
                ]
        ]
    ]
  ],
  'toolExecutionStep' => [
    'toolExecution' => [
        
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'completionTime' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'creationTime' => [
    
  ],
  'description' => '',
  'deviceUsageDuration' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'dimensionValue' => [
    [
        'key' => '',
        'value' => ''
    ]
  ],
  'hasImages' => null,
  'labels' => [
    [
        'key' => '',
        'value' => ''
    ]
  ],
  'multiStep' => [
    'multistepNumber' => 0,
    'primaryStep' => [
        'individualOutcome' => [
                [
                                'multistepNumber' => 0,
                                'outcomeSummary' => '',
                                'runDuration' => [
                                                                
                                ],
                                'stepId' => ''
                ]
        ],
        'rollUp' => ''
    ],
    'primaryStepId' => ''
  ],
  'name' => '',
  'outcome' => [
    'failureDetail' => [
        'crashed' => null,
        'deviceOutOfMemory' => null,
        'failedRoboscript' => null,
        'notInstalled' => null,
        'otherNativeCrash' => null,
        'timedOut' => null,
        'unableToCrawl' => null
    ],
    'inconclusiveDetail' => [
        'abortedByUser' => null,
        'hasErrorLogs' => null,
        'infrastructureFailure' => null
    ],
    'skippedDetail' => [
        'incompatibleAppVersion' => null,
        'incompatibleArchitecture' => null,
        'incompatibleDevice' => null
    ],
    'successDetail' => [
        'otherNativeCrash' => null
    ],
    'summary' => ''
  ],
  'runDuration' => [
    
  ],
  'state' => '',
  'stepId' => '',
  'testExecutionStep' => [
    'testIssues' => [
        [
                'category' => '',
                'errorMessage' => '',
                'severity' => '',
                'stackTrace' => [
                                'exception' => ''
                ],
                'type' => '',
                'warning' => [
                                'typeUrl' => '',
                                'value' => ''
                ]
        ]
    ],
    'testSuiteOverviews' => [
        [
                'elapsedTime' => [
                                
                ],
                'errorCount' => 0,
                'failureCount' => 0,
                'flakyCount' => 0,
                'name' => '',
                'skippedCount' => 0,
                'totalCount' => 0,
                'xmlSource' => [
                                'fileUri' => ''
                ]
        ]
    ],
    'testTiming' => [
        'testProcessDuration' => [
                
        ]
    ],
    'toolExecution' => [
        'commandLineArguments' => [
                
        ],
        'exitCode' => [
                'number' => 0
        ],
        'toolLogs' => [
                [
                                
                ]
        ],
        'toolOutputs' => [
                [
                                'creationTime' => [
                                                                
                                ],
                                'output' => [
                                                                
                                ],
                                'testCase' => [
                                                                'className' => '',
                                                                'name' => '',
                                                                'testSuiteName' => ''
                                ]
                ]
        ]
    ]
  ],
  'toolExecutionStep' => [
    'toolExecution' => [
        
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"

payload = {
    "completionTime": {
        "nanos": 0,
        "seconds": ""
    },
    "creationTime": {},
    "description": "",
    "deviceUsageDuration": {
        "nanos": 0,
        "seconds": ""
    },
    "dimensionValue": [
        {
            "key": "",
            "value": ""
        }
    ],
    "hasImages": False,
    "labels": [
        {
            "key": "",
            "value": ""
        }
    ],
    "multiStep": {
        "multistepNumber": 0,
        "primaryStep": {
            "individualOutcome": [
                {
                    "multistepNumber": 0,
                    "outcomeSummary": "",
                    "runDuration": {},
                    "stepId": ""
                }
            ],
            "rollUp": ""
        },
        "primaryStepId": ""
    },
    "name": "",
    "outcome": {
        "failureDetail": {
            "crashed": False,
            "deviceOutOfMemory": False,
            "failedRoboscript": False,
            "notInstalled": False,
            "otherNativeCrash": False,
            "timedOut": False,
            "unableToCrawl": False
        },
        "inconclusiveDetail": {
            "abortedByUser": False,
            "hasErrorLogs": False,
            "infrastructureFailure": False
        },
        "skippedDetail": {
            "incompatibleAppVersion": False,
            "incompatibleArchitecture": False,
            "incompatibleDevice": False
        },
        "successDetail": { "otherNativeCrash": False },
        "summary": ""
    },
    "runDuration": {},
    "state": "",
    "stepId": "",
    "testExecutionStep": {
        "testIssues": [
            {
                "category": "",
                "errorMessage": "",
                "severity": "",
                "stackTrace": { "exception": "" },
                "type": "",
                "warning": {
                    "typeUrl": "",
                    "value": ""
                }
            }
        ],
        "testSuiteOverviews": [
            {
                "elapsedTime": {},
                "errorCount": 0,
                "failureCount": 0,
                "flakyCount": 0,
                "name": "",
                "skippedCount": 0,
                "totalCount": 0,
                "xmlSource": { "fileUri": "" }
            }
        ],
        "testTiming": { "testProcessDuration": {} },
        "toolExecution": {
            "commandLineArguments": [],
            "exitCode": { "number": 0 },
            "toolLogs": [{}],
            "toolOutputs": [
                {
                    "creationTime": {},
                    "output": {},
                    "testCase": {
                        "className": "",
                        "name": "",
                        "testSuiteName": ""
                    }
                }
            ]
        }
    },
    "toolExecutionStep": { "toolExecution": {} }
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"

payload <- "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps') do |req|
  req.body = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps";

    let payload = json!({
        "completionTime": json!({
            "nanos": 0,
            "seconds": ""
        }),
        "creationTime": json!({}),
        "description": "",
        "deviceUsageDuration": json!({
            "nanos": 0,
            "seconds": ""
        }),
        "dimensionValue": (
            json!({
                "key": "",
                "value": ""
            })
        ),
        "hasImages": false,
        "labels": (
            json!({
                "key": "",
                "value": ""
            })
        ),
        "multiStep": json!({
            "multistepNumber": 0,
            "primaryStep": json!({
                "individualOutcome": (
                    json!({
                        "multistepNumber": 0,
                        "outcomeSummary": "",
                        "runDuration": json!({}),
                        "stepId": ""
                    })
                ),
                "rollUp": ""
            }),
            "primaryStepId": ""
        }),
        "name": "",
        "outcome": json!({
            "failureDetail": json!({
                "crashed": false,
                "deviceOutOfMemory": false,
                "failedRoboscript": false,
                "notInstalled": false,
                "otherNativeCrash": false,
                "timedOut": false,
                "unableToCrawl": false
            }),
            "inconclusiveDetail": json!({
                "abortedByUser": false,
                "hasErrorLogs": false,
                "infrastructureFailure": false
            }),
            "skippedDetail": json!({
                "incompatibleAppVersion": false,
                "incompatibleArchitecture": false,
                "incompatibleDevice": false
            }),
            "successDetail": json!({"otherNativeCrash": false}),
            "summary": ""
        }),
        "runDuration": json!({}),
        "state": "",
        "stepId": "",
        "testExecutionStep": json!({
            "testIssues": (
                json!({
                    "category": "",
                    "errorMessage": "",
                    "severity": "",
                    "stackTrace": json!({"exception": ""}),
                    "type": "",
                    "warning": json!({
                        "typeUrl": "",
                        "value": ""
                    })
                })
            ),
            "testSuiteOverviews": (
                json!({
                    "elapsedTime": json!({}),
                    "errorCount": 0,
                    "failureCount": 0,
                    "flakyCount": 0,
                    "name": "",
                    "skippedCount": 0,
                    "totalCount": 0,
                    "xmlSource": json!({"fileUri": ""})
                })
            ),
            "testTiming": json!({"testProcessDuration": json!({})}),
            "toolExecution": json!({
                "commandLineArguments": (),
                "exitCode": json!({"number": 0}),
                "toolLogs": (json!({})),
                "toolOutputs": (
                    json!({
                        "creationTime": json!({}),
                        "output": json!({}),
                        "testCase": json!({
                            "className": "",
                            "name": "",
                            "testSuiteName": ""
                        })
                    })
                )
            })
        }),
        "toolExecutionStep": json!({"toolExecution": json!({})})
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps \
  --header 'content-type: application/json' \
  --data '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}'
echo '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}' |  \
  http POST {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "completionTime": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "creationTime": {},\n  "description": "",\n  "deviceUsageDuration": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "dimensionValue": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ],\n  "hasImages": false,\n  "labels": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ],\n  "multiStep": {\n    "multistepNumber": 0,\n    "primaryStep": {\n      "individualOutcome": [\n        {\n          "multistepNumber": 0,\n          "outcomeSummary": "",\n          "runDuration": {},\n          "stepId": ""\n        }\n      ],\n      "rollUp": ""\n    },\n    "primaryStepId": ""\n  },\n  "name": "",\n  "outcome": {\n    "failureDetail": {\n      "crashed": false,\n      "deviceOutOfMemory": false,\n      "failedRoboscript": false,\n      "notInstalled": false,\n      "otherNativeCrash": false,\n      "timedOut": false,\n      "unableToCrawl": false\n    },\n    "inconclusiveDetail": {\n      "abortedByUser": false,\n      "hasErrorLogs": false,\n      "infrastructureFailure": false\n    },\n    "skippedDetail": {\n      "incompatibleAppVersion": false,\n      "incompatibleArchitecture": false,\n      "incompatibleDevice": false\n    },\n    "successDetail": {\n      "otherNativeCrash": false\n    },\n    "summary": ""\n  },\n  "runDuration": {},\n  "state": "",\n  "stepId": "",\n  "testExecutionStep": {\n    "testIssues": [\n      {\n        "category": "",\n        "errorMessage": "",\n        "severity": "",\n        "stackTrace": {\n          "exception": ""\n        },\n        "type": "",\n        "warning": {\n          "typeUrl": "",\n          "value": ""\n        }\n      }\n    ],\n    "testSuiteOverviews": [\n      {\n        "elapsedTime": {},\n        "errorCount": 0,\n        "failureCount": 0,\n        "flakyCount": 0,\n        "name": "",\n        "skippedCount": 0,\n        "totalCount": 0,\n        "xmlSource": {\n          "fileUri": ""\n        }\n      }\n    ],\n    "testTiming": {\n      "testProcessDuration": {}\n    },\n    "toolExecution": {\n      "commandLineArguments": [],\n      "exitCode": {\n        "number": 0\n      },\n      "toolLogs": [\n        {}\n      ],\n      "toolOutputs": [\n        {\n          "creationTime": {},\n          "output": {},\n          "testCase": {\n            "className": "",\n            "name": "",\n            "testSuiteName": ""\n          }\n        }\n      ]\n    }\n  },\n  "toolExecutionStep": {\n    "toolExecution": {}\n  }\n}' \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "completionTime": [
    "nanos": 0,
    "seconds": ""
  ],
  "creationTime": [],
  "description": "",
  "deviceUsageDuration": [
    "nanos": 0,
    "seconds": ""
  ],
  "dimensionValue": [
    [
      "key": "",
      "value": ""
    ]
  ],
  "hasImages": false,
  "labels": [
    [
      "key": "",
      "value": ""
    ]
  ],
  "multiStep": [
    "multistepNumber": 0,
    "primaryStep": [
      "individualOutcome": [
        [
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": [],
          "stepId": ""
        ]
      ],
      "rollUp": ""
    ],
    "primaryStepId": ""
  ],
  "name": "",
  "outcome": [
    "failureDetail": [
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    ],
    "inconclusiveDetail": [
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    ],
    "skippedDetail": [
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    ],
    "successDetail": ["otherNativeCrash": false],
    "summary": ""
  ],
  "runDuration": [],
  "state": "",
  "stepId": "",
  "testExecutionStep": [
    "testIssues": [
      [
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": ["exception": ""],
        "type": "",
        "warning": [
          "typeUrl": "",
          "value": ""
        ]
      ]
    ],
    "testSuiteOverviews": [
      [
        "elapsedTime": [],
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": ["fileUri": ""]
      ]
    ],
    "testTiming": ["testProcessDuration": []],
    "toolExecution": [
      "commandLineArguments": [],
      "exitCode": ["number": 0],
      "toolLogs": [[]],
      "toolOutputs": [
        [
          "creationTime": [],
          "output": [],
          "testCase": [
            "className": "",
            "name": "",
            "testSuiteName": ""
          ]
        ]
      ]
    ]
  ],
  "toolExecutionStep": ["toolExecution": []]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.get
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId
QUERY PARAMS

projectId
historyId
executionId
stepId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.getPerfMetricsSummary
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary
QUERY PARAMS

projectId
historyId
executionId
stepId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.list
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps
QUERY PARAMS

projectId
historyId
executionId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
PATCH toolresults.projects.histories.executions.steps.patch
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId
QUERY PARAMS

projectId
historyId
executionId
stepId
BODY json

{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PATCH");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/patch "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId" {:content-type :json
                                                                                                                                                :form-params {:completionTime {:nanos 0
                                                                                                                                                                               :seconds ""}
                                                                                                                                                              :creationTime {}
                                                                                                                                                              :description ""
                                                                                                                                                              :deviceUsageDuration {:nanos 0
                                                                                                                                                                                    :seconds ""}
                                                                                                                                                              :dimensionValue [{:key ""
                                                                                                                                                                                :value ""}]
                                                                                                                                                              :hasImages false
                                                                                                                                                              :labels [{:key ""
                                                                                                                                                                        :value ""}]
                                                                                                                                                              :multiStep {:multistepNumber 0
                                                                                                                                                                          :primaryStep {:individualOutcome [{:multistepNumber 0
                                                                                                                                                                                                             :outcomeSummary ""
                                                                                                                                                                                                             :runDuration {}
                                                                                                                                                                                                             :stepId ""}]
                                                                                                                                                                                        :rollUp ""}
                                                                                                                                                                          :primaryStepId ""}
                                                                                                                                                              :name ""
                                                                                                                                                              :outcome {:failureDetail {:crashed false
                                                                                                                                                                                        :deviceOutOfMemory false
                                                                                                                                                                                        :failedRoboscript false
                                                                                                                                                                                        :notInstalled false
                                                                                                                                                                                        :otherNativeCrash false
                                                                                                                                                                                        :timedOut false
                                                                                                                                                                                        :unableToCrawl false}
                                                                                                                                                                        :inconclusiveDetail {:abortedByUser false
                                                                                                                                                                                             :hasErrorLogs false
                                                                                                                                                                                             :infrastructureFailure false}
                                                                                                                                                                        :skippedDetail {:incompatibleAppVersion false
                                                                                                                                                                                        :incompatibleArchitecture false
                                                                                                                                                                                        :incompatibleDevice false}
                                                                                                                                                                        :successDetail {:otherNativeCrash false}
                                                                                                                                                                        :summary ""}
                                                                                                                                                              :runDuration {}
                                                                                                                                                              :state ""
                                                                                                                                                              :stepId ""
                                                                                                                                                              :testExecutionStep {:testIssues [{:category ""
                                                                                                                                                                                                :errorMessage ""
                                                                                                                                                                                                :severity ""
                                                                                                                                                                                                :stackTrace {:exception ""}
                                                                                                                                                                                                :type ""
                                                                                                                                                                                                :warning {:typeUrl ""
                                                                                                                                                                                                          :value ""}}]
                                                                                                                                                                                  :testSuiteOverviews [{:elapsedTime {}
                                                                                                                                                                                                        :errorCount 0
                                                                                                                                                                                                        :failureCount 0
                                                                                                                                                                                                        :flakyCount 0
                                                                                                                                                                                                        :name ""
                                                                                                                                                                                                        :skippedCount 0
                                                                                                                                                                                                        :totalCount 0
                                                                                                                                                                                                        :xmlSource {:fileUri ""}}]
                                                                                                                                                                                  :testTiming {:testProcessDuration {}}
                                                                                                                                                                                  :toolExecution {:commandLineArguments []
                                                                                                                                                                                                  :exitCode {:number 0}
                                                                                                                                                                                                  :toolLogs [{}]
                                                                                                                                                                                                  :toolOutputs [{:creationTime {}
                                                                                                                                                                                                                 :output {}
                                                                                                                                                                                                                 :testCase {:className ""
                                                                                                                                                                                                                            :name ""
                                                                                                                                                                                                                            :testSuiteName ""}}]}}
                                                                                                                                                              :toolExecutionStep {:toolExecution {}}}})
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"

response = HTTP::Client.patch url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Patch,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"),
    Content = new StringContent("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId");
var request = new RestRequest("", Method.Patch);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"

	payload := strings.NewReader("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
PATCH /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 2388

{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("PATCH", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"))
    .header("content-type", "application/json")
    .method("PATCH", HttpRequest.BodyPublishers.ofString("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.patch("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")
  .header("content-type", "application/json")
  .body("{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")
  .asString();
const data = JSON.stringify({
  completionTime: {
    nanos: 0,
    seconds: ''
  },
  creationTime: {},
  description: '',
  deviceUsageDuration: {
    nanos: 0,
    seconds: ''
  },
  dimensionValue: [
    {
      key: '',
      value: ''
    }
  ],
  hasImages: false,
  labels: [
    {
      key: '',
      value: ''
    }
  ],
  multiStep: {
    multistepNumber: 0,
    primaryStep: {
      individualOutcome: [
        {
          multistepNumber: 0,
          outcomeSummary: '',
          runDuration: {},
          stepId: ''
        }
      ],
      rollUp: ''
    },
    primaryStepId: ''
  },
  name: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {
      abortedByUser: false,
      hasErrorLogs: false,
      infrastructureFailure: false
    },
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {
      otherNativeCrash: false
    },
    summary: ''
  },
  runDuration: {},
  state: '',
  stepId: '',
  testExecutionStep: {
    testIssues: [
      {
        category: '',
        errorMessage: '',
        severity: '',
        stackTrace: {
          exception: ''
        },
        type: '',
        warning: {
          typeUrl: '',
          value: ''
        }
      }
    ],
    testSuiteOverviews: [
      {
        elapsedTime: {},
        errorCount: 0,
        failureCount: 0,
        flakyCount: 0,
        name: '',
        skippedCount: 0,
        totalCount: 0,
        xmlSource: {
          fileUri: ''
        }
      }
    ],
    testTiming: {
      testProcessDuration: {}
    },
    toolExecution: {
      commandLineArguments: [],
      exitCode: {
        number: 0
      },
      toolLogs: [
        {}
      ],
      toolOutputs: [
        {
          creationTime: {},
          output: {},
          testCase: {
            className: '',
            name: '',
            testSuiteName: ''
          }
        }
      ]
    }
  },
  toolExecutionStep: {
    toolExecution: {}
  }
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('PATCH', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId',
  headers: {'content-type': 'application/json'},
  data: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    description: '',
    deviceUsageDuration: {nanos: 0, seconds: ''},
    dimensionValue: [{key: '', value: ''}],
    hasImages: false,
    labels: [{key: '', value: ''}],
    multiStep: {
      multistepNumber: 0,
      primaryStep: {
        individualOutcome: [{multistepNumber: 0, outcomeSummary: '', runDuration: {}, stepId: ''}],
        rollUp: ''
      },
      primaryStepId: ''
    },
    name: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    runDuration: {},
    state: '',
    stepId: '',
    testExecutionStep: {
      testIssues: [
        {
          category: '',
          errorMessage: '',
          severity: '',
          stackTrace: {exception: ''},
          type: '',
          warning: {typeUrl: '', value: ''}
        }
      ],
      testSuiteOverviews: [
        {
          elapsedTime: {},
          errorCount: 0,
          failureCount: 0,
          flakyCount: 0,
          name: '',
          skippedCount: 0,
          totalCount: 0,
          xmlSource: {fileUri: ''}
        }
      ],
      testTiming: {testProcessDuration: {}},
      toolExecution: {
        commandLineArguments: [],
        exitCode: {number: 0},
        toolLogs: [{}],
        toolOutputs: [
          {
            creationTime: {},
            output: {},
            testCase: {className: '', name: '', testSuiteName: ''}
          }
        ]
      }
    },
    toolExecutionStep: {toolExecution: {}}
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"completionTime":{"nanos":0,"seconds":""},"creationTime":{},"description":"","deviceUsageDuration":{"nanos":0,"seconds":""},"dimensionValue":[{"key":"","value":""}],"hasImages":false,"labels":[{"key":"","value":""}],"multiStep":{"multistepNumber":0,"primaryStep":{"individualOutcome":[{"multistepNumber":0,"outcomeSummary":"","runDuration":{},"stepId":""}],"rollUp":""},"primaryStepId":""},"name":"","outcome":{"failureDetail":{"crashed":false,"deviceOutOfMemory":false,"failedRoboscript":false,"notInstalled":false,"otherNativeCrash":false,"timedOut":false,"unableToCrawl":false},"inconclusiveDetail":{"abortedByUser":false,"hasErrorLogs":false,"infrastructureFailure":false},"skippedDetail":{"incompatibleAppVersion":false,"incompatibleArchitecture":false,"incompatibleDevice":false},"successDetail":{"otherNativeCrash":false},"summary":""},"runDuration":{},"state":"","stepId":"","testExecutionStep":{"testIssues":[{"category":"","errorMessage":"","severity":"","stackTrace":{"exception":""},"type":"","warning":{"typeUrl":"","value":""}}],"testSuiteOverviews":[{"elapsedTime":{},"errorCount":0,"failureCount":0,"flakyCount":0,"name":"","skippedCount":0,"totalCount":0,"xmlSource":{"fileUri":""}}],"testTiming":{"testProcessDuration":{}},"toolExecution":{"commandLineArguments":[],"exitCode":{"number":0},"toolLogs":[{}],"toolOutputs":[{"creationTime":{},"output":{},"testCase":{"className":"","name":"","testSuiteName":""}}]}},"toolExecutionStep":{"toolExecution":{}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId',
  method: 'PATCH',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "completionTime": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "creationTime": {},\n  "description": "",\n  "deviceUsageDuration": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "dimensionValue": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ],\n  "hasImages": false,\n  "labels": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ],\n  "multiStep": {\n    "multistepNumber": 0,\n    "primaryStep": {\n      "individualOutcome": [\n        {\n          "multistepNumber": 0,\n          "outcomeSummary": "",\n          "runDuration": {},\n          "stepId": ""\n        }\n      ],\n      "rollUp": ""\n    },\n    "primaryStepId": ""\n  },\n  "name": "",\n  "outcome": {\n    "failureDetail": {\n      "crashed": false,\n      "deviceOutOfMemory": false,\n      "failedRoboscript": false,\n      "notInstalled": false,\n      "otherNativeCrash": false,\n      "timedOut": false,\n      "unableToCrawl": false\n    },\n    "inconclusiveDetail": {\n      "abortedByUser": false,\n      "hasErrorLogs": false,\n      "infrastructureFailure": false\n    },\n    "skippedDetail": {\n      "incompatibleAppVersion": false,\n      "incompatibleArchitecture": false,\n      "incompatibleDevice": false\n    },\n    "successDetail": {\n      "otherNativeCrash": false\n    },\n    "summary": ""\n  },\n  "runDuration": {},\n  "state": "",\n  "stepId": "",\n  "testExecutionStep": {\n    "testIssues": [\n      {\n        "category": "",\n        "errorMessage": "",\n        "severity": "",\n        "stackTrace": {\n          "exception": ""\n        },\n        "type": "",\n        "warning": {\n          "typeUrl": "",\n          "value": ""\n        }\n      }\n    ],\n    "testSuiteOverviews": [\n      {\n        "elapsedTime": {},\n        "errorCount": 0,\n        "failureCount": 0,\n        "flakyCount": 0,\n        "name": "",\n        "skippedCount": 0,\n        "totalCount": 0,\n        "xmlSource": {\n          "fileUri": ""\n        }\n      }\n    ],\n    "testTiming": {\n      "testProcessDuration": {}\n    },\n    "toolExecution": {\n      "commandLineArguments": [],\n      "exitCode": {\n        "number": 0\n      },\n      "toolLogs": [\n        {}\n      ],\n      "toolOutputs": [\n        {\n          "creationTime": {},\n          "output": {},\n          "testCase": {\n            "className": "",\n            "name": "",\n            "testSuiteName": ""\n          }\n        }\n      ]\n    }\n  },\n  "toolExecutionStep": {\n    "toolExecution": {}\n  }\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")
  .patch(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'PATCH',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  completionTime: {nanos: 0, seconds: ''},
  creationTime: {},
  description: '',
  deviceUsageDuration: {nanos: 0, seconds: ''},
  dimensionValue: [{key: '', value: ''}],
  hasImages: false,
  labels: [{key: '', value: ''}],
  multiStep: {
    multistepNumber: 0,
    primaryStep: {
      individualOutcome: [{multistepNumber: 0, outcomeSummary: '', runDuration: {}, stepId: ''}],
      rollUp: ''
    },
    primaryStepId: ''
  },
  name: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {otherNativeCrash: false},
    summary: ''
  },
  runDuration: {},
  state: '',
  stepId: '',
  testExecutionStep: {
    testIssues: [
      {
        category: '',
        errorMessage: '',
        severity: '',
        stackTrace: {exception: ''},
        type: '',
        warning: {typeUrl: '', value: ''}
      }
    ],
    testSuiteOverviews: [
      {
        elapsedTime: {},
        errorCount: 0,
        failureCount: 0,
        flakyCount: 0,
        name: '',
        skippedCount: 0,
        totalCount: 0,
        xmlSource: {fileUri: ''}
      }
    ],
    testTiming: {testProcessDuration: {}},
    toolExecution: {
      commandLineArguments: [],
      exitCode: {number: 0},
      toolLogs: [{}],
      toolOutputs: [
        {
          creationTime: {},
          output: {},
          testCase: {className: '', name: '', testSuiteName: ''}
        }
      ]
    }
  },
  toolExecutionStep: {toolExecution: {}}
}));
req.end();
const request = require('request');

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId',
  headers: {'content-type': 'application/json'},
  body: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    description: '',
    deviceUsageDuration: {nanos: 0, seconds: ''},
    dimensionValue: [{key: '', value: ''}],
    hasImages: false,
    labels: [{key: '', value: ''}],
    multiStep: {
      multistepNumber: 0,
      primaryStep: {
        individualOutcome: [{multistepNumber: 0, outcomeSummary: '', runDuration: {}, stepId: ''}],
        rollUp: ''
      },
      primaryStepId: ''
    },
    name: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    runDuration: {},
    state: '',
    stepId: '',
    testExecutionStep: {
      testIssues: [
        {
          category: '',
          errorMessage: '',
          severity: '',
          stackTrace: {exception: ''},
          type: '',
          warning: {typeUrl: '', value: ''}
        }
      ],
      testSuiteOverviews: [
        {
          elapsedTime: {},
          errorCount: 0,
          failureCount: 0,
          flakyCount: 0,
          name: '',
          skippedCount: 0,
          totalCount: 0,
          xmlSource: {fileUri: ''}
        }
      ],
      testTiming: {testProcessDuration: {}},
      toolExecution: {
        commandLineArguments: [],
        exitCode: {number: 0},
        toolLogs: [{}],
        toolOutputs: [
          {
            creationTime: {},
            output: {},
            testCase: {className: '', name: '', testSuiteName: ''}
          }
        ]
      }
    },
    toolExecutionStep: {toolExecution: {}}
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('PATCH', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  completionTime: {
    nanos: 0,
    seconds: ''
  },
  creationTime: {},
  description: '',
  deviceUsageDuration: {
    nanos: 0,
    seconds: ''
  },
  dimensionValue: [
    {
      key: '',
      value: ''
    }
  ],
  hasImages: false,
  labels: [
    {
      key: '',
      value: ''
    }
  ],
  multiStep: {
    multistepNumber: 0,
    primaryStep: {
      individualOutcome: [
        {
          multistepNumber: 0,
          outcomeSummary: '',
          runDuration: {},
          stepId: ''
        }
      ],
      rollUp: ''
    },
    primaryStepId: ''
  },
  name: '',
  outcome: {
    failureDetail: {
      crashed: false,
      deviceOutOfMemory: false,
      failedRoboscript: false,
      notInstalled: false,
      otherNativeCrash: false,
      timedOut: false,
      unableToCrawl: false
    },
    inconclusiveDetail: {
      abortedByUser: false,
      hasErrorLogs: false,
      infrastructureFailure: false
    },
    skippedDetail: {
      incompatibleAppVersion: false,
      incompatibleArchitecture: false,
      incompatibleDevice: false
    },
    successDetail: {
      otherNativeCrash: false
    },
    summary: ''
  },
  runDuration: {},
  state: '',
  stepId: '',
  testExecutionStep: {
    testIssues: [
      {
        category: '',
        errorMessage: '',
        severity: '',
        stackTrace: {
          exception: ''
        },
        type: '',
        warning: {
          typeUrl: '',
          value: ''
        }
      }
    ],
    testSuiteOverviews: [
      {
        elapsedTime: {},
        errorCount: 0,
        failureCount: 0,
        flakyCount: 0,
        name: '',
        skippedCount: 0,
        totalCount: 0,
        xmlSource: {
          fileUri: ''
        }
      }
    ],
    testTiming: {
      testProcessDuration: {}
    },
    toolExecution: {
      commandLineArguments: [],
      exitCode: {
        number: 0
      },
      toolLogs: [
        {}
      ],
      toolOutputs: [
        {
          creationTime: {},
          output: {},
          testCase: {
            className: '',
            name: '',
            testSuiteName: ''
          }
        }
      ]
    }
  },
  toolExecutionStep: {
    toolExecution: {}
  }
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'PATCH',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId',
  headers: {'content-type': 'application/json'},
  data: {
    completionTime: {nanos: 0, seconds: ''},
    creationTime: {},
    description: '',
    deviceUsageDuration: {nanos: 0, seconds: ''},
    dimensionValue: [{key: '', value: ''}],
    hasImages: false,
    labels: [{key: '', value: ''}],
    multiStep: {
      multistepNumber: 0,
      primaryStep: {
        individualOutcome: [{multistepNumber: 0, outcomeSummary: '', runDuration: {}, stepId: ''}],
        rollUp: ''
      },
      primaryStepId: ''
    },
    name: '',
    outcome: {
      failureDetail: {
        crashed: false,
        deviceOutOfMemory: false,
        failedRoboscript: false,
        notInstalled: false,
        otherNativeCrash: false,
        timedOut: false,
        unableToCrawl: false
      },
      inconclusiveDetail: {abortedByUser: false, hasErrorLogs: false, infrastructureFailure: false},
      skippedDetail: {
        incompatibleAppVersion: false,
        incompatibleArchitecture: false,
        incompatibleDevice: false
      },
      successDetail: {otherNativeCrash: false},
      summary: ''
    },
    runDuration: {},
    state: '',
    stepId: '',
    testExecutionStep: {
      testIssues: [
        {
          category: '',
          errorMessage: '',
          severity: '',
          stackTrace: {exception: ''},
          type: '',
          warning: {typeUrl: '', value: ''}
        }
      ],
      testSuiteOverviews: [
        {
          elapsedTime: {},
          errorCount: 0,
          failureCount: 0,
          flakyCount: 0,
          name: '',
          skippedCount: 0,
          totalCount: 0,
          xmlSource: {fileUri: ''}
        }
      ],
      testTiming: {testProcessDuration: {}},
      toolExecution: {
        commandLineArguments: [],
        exitCode: {number: 0},
        toolLogs: [{}],
        toolOutputs: [
          {
            creationTime: {},
            output: {},
            testCase: {className: '', name: '', testSuiteName: ''}
          }
        ]
      }
    },
    toolExecutionStep: {toolExecution: {}}
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId';
const options = {
  method: 'PATCH',
  headers: {'content-type': 'application/json'},
  body: '{"completionTime":{"nanos":0,"seconds":""},"creationTime":{},"description":"","deviceUsageDuration":{"nanos":0,"seconds":""},"dimensionValue":[{"key":"","value":""}],"hasImages":false,"labels":[{"key":"","value":""}],"multiStep":{"multistepNumber":0,"primaryStep":{"individualOutcome":[{"multistepNumber":0,"outcomeSummary":"","runDuration":{},"stepId":""}],"rollUp":""},"primaryStepId":""},"name":"","outcome":{"failureDetail":{"crashed":false,"deviceOutOfMemory":false,"failedRoboscript":false,"notInstalled":false,"otherNativeCrash":false,"timedOut":false,"unableToCrawl":false},"inconclusiveDetail":{"abortedByUser":false,"hasErrorLogs":false,"infrastructureFailure":false},"skippedDetail":{"incompatibleAppVersion":false,"incompatibleArchitecture":false,"incompatibleDevice":false},"successDetail":{"otherNativeCrash":false},"summary":""},"runDuration":{},"state":"","stepId":"","testExecutionStep":{"testIssues":[{"category":"","errorMessage":"","severity":"","stackTrace":{"exception":""},"type":"","warning":{"typeUrl":"","value":""}}],"testSuiteOverviews":[{"elapsedTime":{},"errorCount":0,"failureCount":0,"flakyCount":0,"name":"","skippedCount":0,"totalCount":0,"xmlSource":{"fileUri":""}}],"testTiming":{"testProcessDuration":{}},"toolExecution":{"commandLineArguments":[],"exitCode":{"number":0},"toolLogs":[{}],"toolOutputs":[{"creationTime":{},"output":{},"testCase":{"className":"","name":"","testSuiteName":""}}]}},"toolExecutionStep":{"toolExecution":{}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"completionTime": @{ @"nanos": @0, @"seconds": @"" },
                              @"creationTime": @{  },
                              @"description": @"",
                              @"deviceUsageDuration": @{ @"nanos": @0, @"seconds": @"" },
                              @"dimensionValue": @[ @{ @"key": @"", @"value": @"" } ],
                              @"hasImages": @NO,
                              @"labels": @[ @{ @"key": @"", @"value": @"" } ],
                              @"multiStep": @{ @"multistepNumber": @0, @"primaryStep": @{ @"individualOutcome": @[ @{ @"multistepNumber": @0, @"outcomeSummary": @"", @"runDuration": @{  }, @"stepId": @"" } ], @"rollUp": @"" }, @"primaryStepId": @"" },
                              @"name": @"",
                              @"outcome": @{ @"failureDetail": @{ @"crashed": @NO, @"deviceOutOfMemory": @NO, @"failedRoboscript": @NO, @"notInstalled": @NO, @"otherNativeCrash": @NO, @"timedOut": @NO, @"unableToCrawl": @NO }, @"inconclusiveDetail": @{ @"abortedByUser": @NO, @"hasErrorLogs": @NO, @"infrastructureFailure": @NO }, @"skippedDetail": @{ @"incompatibleAppVersion": @NO, @"incompatibleArchitecture": @NO, @"incompatibleDevice": @NO }, @"successDetail": @{ @"otherNativeCrash": @NO }, @"summary": @"" },
                              @"runDuration": @{  },
                              @"state": @"",
                              @"stepId": @"",
                              @"testExecutionStep": @{ @"testIssues": @[ @{ @"category": @"", @"errorMessage": @"", @"severity": @"", @"stackTrace": @{ @"exception": @"" }, @"type": @"", @"warning": @{ @"typeUrl": @"", @"value": @"" } } ], @"testSuiteOverviews": @[ @{ @"elapsedTime": @{  }, @"errorCount": @0, @"failureCount": @0, @"flakyCount": @0, @"name": @"", @"skippedCount": @0, @"totalCount": @0, @"xmlSource": @{ @"fileUri": @"" } } ], @"testTiming": @{ @"testProcessDuration": @{  } }, @"toolExecution": @{ @"commandLineArguments": @[  ], @"exitCode": @{ @"number": @0 }, @"toolLogs": @[ @{  } ], @"toolOutputs": @[ @{ @"creationTime": @{  }, @"output": @{  }, @"testCase": @{ @"className": @"", @"name": @"", @"testSuiteName": @"" } } ] } },
                              @"toolExecutionStep": @{ @"toolExecution": @{  } } };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"PATCH"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}" in

Client.call ~headers ~body `PATCH uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PATCH",
  CURLOPT_POSTFIELDS => json_encode([
    'completionTime' => [
        'nanos' => 0,
        'seconds' => ''
    ],
    'creationTime' => [
        
    ],
    'description' => '',
    'deviceUsageDuration' => [
        'nanos' => 0,
        'seconds' => ''
    ],
    'dimensionValue' => [
        [
                'key' => '',
                'value' => ''
        ]
    ],
    'hasImages' => null,
    'labels' => [
        [
                'key' => '',
                'value' => ''
        ]
    ],
    'multiStep' => [
        'multistepNumber' => 0,
        'primaryStep' => [
                'individualOutcome' => [
                                [
                                                                'multistepNumber' => 0,
                                                                'outcomeSummary' => '',
                                                                'runDuration' => [
                                                                                                                                
                                                                ],
                                                                'stepId' => ''
                                ]
                ],
                'rollUp' => ''
        ],
        'primaryStepId' => ''
    ],
    'name' => '',
    'outcome' => [
        'failureDetail' => [
                'crashed' => null,
                'deviceOutOfMemory' => null,
                'failedRoboscript' => null,
                'notInstalled' => null,
                'otherNativeCrash' => null,
                'timedOut' => null,
                'unableToCrawl' => null
        ],
        'inconclusiveDetail' => [
                'abortedByUser' => null,
                'hasErrorLogs' => null,
                'infrastructureFailure' => null
        ],
        'skippedDetail' => [
                'incompatibleAppVersion' => null,
                'incompatibleArchitecture' => null,
                'incompatibleDevice' => null
        ],
        'successDetail' => [
                'otherNativeCrash' => null
        ],
        'summary' => ''
    ],
    'runDuration' => [
        
    ],
    'state' => '',
    'stepId' => '',
    'testExecutionStep' => [
        'testIssues' => [
                [
                                'category' => '',
                                'errorMessage' => '',
                                'severity' => '',
                                'stackTrace' => [
                                                                'exception' => ''
                                ],
                                'type' => '',
                                'warning' => [
                                                                'typeUrl' => '',
                                                                'value' => ''
                                ]
                ]
        ],
        'testSuiteOverviews' => [
                [
                                'elapsedTime' => [
                                                                
                                ],
                                'errorCount' => 0,
                                'failureCount' => 0,
                                'flakyCount' => 0,
                                'name' => '',
                                'skippedCount' => 0,
                                'totalCount' => 0,
                                'xmlSource' => [
                                                                'fileUri' => ''
                                ]
                ]
        ],
        'testTiming' => [
                'testProcessDuration' => [
                                
                ]
        ],
        'toolExecution' => [
                'commandLineArguments' => [
                                
                ],
                'exitCode' => [
                                'number' => 0
                ],
                'toolLogs' => [
                                [
                                                                
                                ]
                ],
                'toolOutputs' => [
                                [
                                                                'creationTime' => [
                                                                                                                                
                                                                ],
                                                                'output' => [
                                                                                                                                
                                                                ],
                                                                'testCase' => [
                                                                                                                                'className' => '',
                                                                                                                                'name' => '',
                                                                                                                                'testSuiteName' => ''
                                                                ]
                                ]
                ]
        ]
    ],
    'toolExecutionStep' => [
        'toolExecution' => [
                
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('PATCH', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId', [
  'body' => '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId');
$request->setMethod(HttpRequest::HTTP_METH_PATCH);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'completionTime' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'creationTime' => [
    
  ],
  'description' => '',
  'deviceUsageDuration' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'dimensionValue' => [
    [
        'key' => '',
        'value' => ''
    ]
  ],
  'hasImages' => null,
  'labels' => [
    [
        'key' => '',
        'value' => ''
    ]
  ],
  'multiStep' => [
    'multistepNumber' => 0,
    'primaryStep' => [
        'individualOutcome' => [
                [
                                'multistepNumber' => 0,
                                'outcomeSummary' => '',
                                'runDuration' => [
                                                                
                                ],
                                'stepId' => ''
                ]
        ],
        'rollUp' => ''
    ],
    'primaryStepId' => ''
  ],
  'name' => '',
  'outcome' => [
    'failureDetail' => [
        'crashed' => null,
        'deviceOutOfMemory' => null,
        'failedRoboscript' => null,
        'notInstalled' => null,
        'otherNativeCrash' => null,
        'timedOut' => null,
        'unableToCrawl' => null
    ],
    'inconclusiveDetail' => [
        'abortedByUser' => null,
        'hasErrorLogs' => null,
        'infrastructureFailure' => null
    ],
    'skippedDetail' => [
        'incompatibleAppVersion' => null,
        'incompatibleArchitecture' => null,
        'incompatibleDevice' => null
    ],
    'successDetail' => [
        'otherNativeCrash' => null
    ],
    'summary' => ''
  ],
  'runDuration' => [
    
  ],
  'state' => '',
  'stepId' => '',
  'testExecutionStep' => [
    'testIssues' => [
        [
                'category' => '',
                'errorMessage' => '',
                'severity' => '',
                'stackTrace' => [
                                'exception' => ''
                ],
                'type' => '',
                'warning' => [
                                'typeUrl' => '',
                                'value' => ''
                ]
        ]
    ],
    'testSuiteOverviews' => [
        [
                'elapsedTime' => [
                                
                ],
                'errorCount' => 0,
                'failureCount' => 0,
                'flakyCount' => 0,
                'name' => '',
                'skippedCount' => 0,
                'totalCount' => 0,
                'xmlSource' => [
                                'fileUri' => ''
                ]
        ]
    ],
    'testTiming' => [
        'testProcessDuration' => [
                
        ]
    ],
    'toolExecution' => [
        'commandLineArguments' => [
                
        ],
        'exitCode' => [
                'number' => 0
        ],
        'toolLogs' => [
                [
                                
                ]
        ],
        'toolOutputs' => [
                [
                                'creationTime' => [
                                                                
                                ],
                                'output' => [
                                                                
                                ],
                                'testCase' => [
                                                                'className' => '',
                                                                'name' => '',
                                                                'testSuiteName' => ''
                                ]
                ]
        ]
    ]
  ],
  'toolExecutionStep' => [
    'toolExecution' => [
        
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'completionTime' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'creationTime' => [
    
  ],
  'description' => '',
  'deviceUsageDuration' => [
    'nanos' => 0,
    'seconds' => ''
  ],
  'dimensionValue' => [
    [
        'key' => '',
        'value' => ''
    ]
  ],
  'hasImages' => null,
  'labels' => [
    [
        'key' => '',
        'value' => ''
    ]
  ],
  'multiStep' => [
    'multistepNumber' => 0,
    'primaryStep' => [
        'individualOutcome' => [
                [
                                'multistepNumber' => 0,
                                'outcomeSummary' => '',
                                'runDuration' => [
                                                                
                                ],
                                'stepId' => ''
                ]
        ],
        'rollUp' => ''
    ],
    'primaryStepId' => ''
  ],
  'name' => '',
  'outcome' => [
    'failureDetail' => [
        'crashed' => null,
        'deviceOutOfMemory' => null,
        'failedRoboscript' => null,
        'notInstalled' => null,
        'otherNativeCrash' => null,
        'timedOut' => null,
        'unableToCrawl' => null
    ],
    'inconclusiveDetail' => [
        'abortedByUser' => null,
        'hasErrorLogs' => null,
        'infrastructureFailure' => null
    ],
    'skippedDetail' => [
        'incompatibleAppVersion' => null,
        'incompatibleArchitecture' => null,
        'incompatibleDevice' => null
    ],
    'successDetail' => [
        'otherNativeCrash' => null
    ],
    'summary' => ''
  ],
  'runDuration' => [
    
  ],
  'state' => '',
  'stepId' => '',
  'testExecutionStep' => [
    'testIssues' => [
        [
                'category' => '',
                'errorMessage' => '',
                'severity' => '',
                'stackTrace' => [
                                'exception' => ''
                ],
                'type' => '',
                'warning' => [
                                'typeUrl' => '',
                                'value' => ''
                ]
        ]
    ],
    'testSuiteOverviews' => [
        [
                'elapsedTime' => [
                                
                ],
                'errorCount' => 0,
                'failureCount' => 0,
                'flakyCount' => 0,
                'name' => '',
                'skippedCount' => 0,
                'totalCount' => 0,
                'xmlSource' => [
                                'fileUri' => ''
                ]
        ]
    ],
    'testTiming' => [
        'testProcessDuration' => [
                
        ]
    ],
    'toolExecution' => [
        'commandLineArguments' => [
                
        ],
        'exitCode' => [
                'number' => 0
        ],
        'toolLogs' => [
                [
                                
                ]
        ],
        'toolOutputs' => [
                [
                                'creationTime' => [
                                                                
                                ],
                                'output' => [
                                                                
                                ],
                                'testCase' => [
                                                                'className' => '',
                                                                'name' => '',
                                                                'testSuiteName' => ''
                                ]
                ]
        ]
    ]
  ],
  'toolExecutionStep' => [
    'toolExecution' => [
        
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId');
$request->setRequestMethod('PATCH');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId' -Method PATCH -Headers $headers -ContentType 'application/json' -Body '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"

headers = { 'content-type': "application/json" }

conn.request("PATCH", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"

payload = {
    "completionTime": {
        "nanos": 0,
        "seconds": ""
    },
    "creationTime": {},
    "description": "",
    "deviceUsageDuration": {
        "nanos": 0,
        "seconds": ""
    },
    "dimensionValue": [
        {
            "key": "",
            "value": ""
        }
    ],
    "hasImages": False,
    "labels": [
        {
            "key": "",
            "value": ""
        }
    ],
    "multiStep": {
        "multistepNumber": 0,
        "primaryStep": {
            "individualOutcome": [
                {
                    "multistepNumber": 0,
                    "outcomeSummary": "",
                    "runDuration": {},
                    "stepId": ""
                }
            ],
            "rollUp": ""
        },
        "primaryStepId": ""
    },
    "name": "",
    "outcome": {
        "failureDetail": {
            "crashed": False,
            "deviceOutOfMemory": False,
            "failedRoboscript": False,
            "notInstalled": False,
            "otherNativeCrash": False,
            "timedOut": False,
            "unableToCrawl": False
        },
        "inconclusiveDetail": {
            "abortedByUser": False,
            "hasErrorLogs": False,
            "infrastructureFailure": False
        },
        "skippedDetail": {
            "incompatibleAppVersion": False,
            "incompatibleArchitecture": False,
            "incompatibleDevice": False
        },
        "successDetail": { "otherNativeCrash": False },
        "summary": ""
    },
    "runDuration": {},
    "state": "",
    "stepId": "",
    "testExecutionStep": {
        "testIssues": [
            {
                "category": "",
                "errorMessage": "",
                "severity": "",
                "stackTrace": { "exception": "" },
                "type": "",
                "warning": {
                    "typeUrl": "",
                    "value": ""
                }
            }
        ],
        "testSuiteOverviews": [
            {
                "elapsedTime": {},
                "errorCount": 0,
                "failureCount": 0,
                "flakyCount": 0,
                "name": "",
                "skippedCount": 0,
                "totalCount": 0,
                "xmlSource": { "fileUri": "" }
            }
        ],
        "testTiming": { "testProcessDuration": {} },
        "toolExecution": {
            "commandLineArguments": [],
            "exitCode": { "number": 0 },
            "toolLogs": [{}],
            "toolOutputs": [
                {
                    "creationTime": {},
                    "output": {},
                    "testCase": {
                        "className": "",
                        "name": "",
                        "testSuiteName": ""
                    }
                }
            ]
        }
    },
    "toolExecutionStep": { "toolExecution": {} }
}
headers = {"content-type": "application/json"}

response = requests.patch(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId"

payload <- "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"

encode <- "json"

response <- VERB("PATCH", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.patch('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId') do |req|
  req.body = "{\n  \"completionTime\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"creationTime\": {},\n  \"description\": \"\",\n  \"deviceUsageDuration\": {\n    \"nanos\": 0,\n    \"seconds\": \"\"\n  },\n  \"dimensionValue\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"hasImages\": false,\n  \"labels\": [\n    {\n      \"key\": \"\",\n      \"value\": \"\"\n    }\n  ],\n  \"multiStep\": {\n    \"multistepNumber\": 0,\n    \"primaryStep\": {\n      \"individualOutcome\": [\n        {\n          \"multistepNumber\": 0,\n          \"outcomeSummary\": \"\",\n          \"runDuration\": {},\n          \"stepId\": \"\"\n        }\n      ],\n      \"rollUp\": \"\"\n    },\n    \"primaryStepId\": \"\"\n  },\n  \"name\": \"\",\n  \"outcome\": {\n    \"failureDetail\": {\n      \"crashed\": false,\n      \"deviceOutOfMemory\": false,\n      \"failedRoboscript\": false,\n      \"notInstalled\": false,\n      \"otherNativeCrash\": false,\n      \"timedOut\": false,\n      \"unableToCrawl\": false\n    },\n    \"inconclusiveDetail\": {\n      \"abortedByUser\": false,\n      \"hasErrorLogs\": false,\n      \"infrastructureFailure\": false\n    },\n    \"skippedDetail\": {\n      \"incompatibleAppVersion\": false,\n      \"incompatibleArchitecture\": false,\n      \"incompatibleDevice\": false\n    },\n    \"successDetail\": {\n      \"otherNativeCrash\": false\n    },\n    \"summary\": \"\"\n  },\n  \"runDuration\": {},\n  \"state\": \"\",\n  \"stepId\": \"\",\n  \"testExecutionStep\": {\n    \"testIssues\": [\n      {\n        \"category\": \"\",\n        \"errorMessage\": \"\",\n        \"severity\": \"\",\n        \"stackTrace\": {\n          \"exception\": \"\"\n        },\n        \"type\": \"\",\n        \"warning\": {\n          \"typeUrl\": \"\",\n          \"value\": \"\"\n        }\n      }\n    ],\n    \"testSuiteOverviews\": [\n      {\n        \"elapsedTime\": {},\n        \"errorCount\": 0,\n        \"failureCount\": 0,\n        \"flakyCount\": 0,\n        \"name\": \"\",\n        \"skippedCount\": 0,\n        \"totalCount\": 0,\n        \"xmlSource\": {\n          \"fileUri\": \"\"\n        }\n      }\n    ],\n    \"testTiming\": {\n      \"testProcessDuration\": {}\n    },\n    \"toolExecution\": {\n      \"commandLineArguments\": [],\n      \"exitCode\": {\n        \"number\": 0\n      },\n      \"toolLogs\": [\n        {}\n      ],\n      \"toolOutputs\": [\n        {\n          \"creationTime\": {},\n          \"output\": {},\n          \"testCase\": {\n            \"className\": \"\",\n            \"name\": \"\",\n            \"testSuiteName\": \"\"\n          }\n        }\n      ]\n    }\n  },\n  \"toolExecutionStep\": {\n    \"toolExecution\": {}\n  }\n}"
end

puts response.status
puts response.body
use std::str::FromStr;
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId";

    let payload = json!({
        "completionTime": json!({
            "nanos": 0,
            "seconds": ""
        }),
        "creationTime": json!({}),
        "description": "",
        "deviceUsageDuration": json!({
            "nanos": 0,
            "seconds": ""
        }),
        "dimensionValue": (
            json!({
                "key": "",
                "value": ""
            })
        ),
        "hasImages": false,
        "labels": (
            json!({
                "key": "",
                "value": ""
            })
        ),
        "multiStep": json!({
            "multistepNumber": 0,
            "primaryStep": json!({
                "individualOutcome": (
                    json!({
                        "multistepNumber": 0,
                        "outcomeSummary": "",
                        "runDuration": json!({}),
                        "stepId": ""
                    })
                ),
                "rollUp": ""
            }),
            "primaryStepId": ""
        }),
        "name": "",
        "outcome": json!({
            "failureDetail": json!({
                "crashed": false,
                "deviceOutOfMemory": false,
                "failedRoboscript": false,
                "notInstalled": false,
                "otherNativeCrash": false,
                "timedOut": false,
                "unableToCrawl": false
            }),
            "inconclusiveDetail": json!({
                "abortedByUser": false,
                "hasErrorLogs": false,
                "infrastructureFailure": false
            }),
            "skippedDetail": json!({
                "incompatibleAppVersion": false,
                "incompatibleArchitecture": false,
                "incompatibleDevice": false
            }),
            "successDetail": json!({"otherNativeCrash": false}),
            "summary": ""
        }),
        "runDuration": json!({}),
        "state": "",
        "stepId": "",
        "testExecutionStep": json!({
            "testIssues": (
                json!({
                    "category": "",
                    "errorMessage": "",
                    "severity": "",
                    "stackTrace": json!({"exception": ""}),
                    "type": "",
                    "warning": json!({
                        "typeUrl": "",
                        "value": ""
                    })
                })
            ),
            "testSuiteOverviews": (
                json!({
                    "elapsedTime": json!({}),
                    "errorCount": 0,
                    "failureCount": 0,
                    "flakyCount": 0,
                    "name": "",
                    "skippedCount": 0,
                    "totalCount": 0,
                    "xmlSource": json!({"fileUri": ""})
                })
            ),
            "testTiming": json!({"testProcessDuration": json!({})}),
            "toolExecution": json!({
                "commandLineArguments": (),
                "exitCode": json!({"number": 0}),
                "toolLogs": (json!({})),
                "toolOutputs": (
                    json!({
                        "creationTime": json!({}),
                        "output": json!({}),
                        "testCase": json!({
                            "className": "",
                            "name": "",
                            "testSuiteName": ""
                        })
                    })
                )
            })
        }),
        "toolExecutionStep": json!({"toolExecution": json!({})})
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.request(reqwest::Method::from_str("PATCH").unwrap(), url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request PATCH \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId \
  --header 'content-type: application/json' \
  --data '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}'
echo '{
  "completionTime": {
    "nanos": 0,
    "seconds": ""
  },
  "creationTime": {},
  "description": "",
  "deviceUsageDuration": {
    "nanos": 0,
    "seconds": ""
  },
  "dimensionValue": [
    {
      "key": "",
      "value": ""
    }
  ],
  "hasImages": false,
  "labels": [
    {
      "key": "",
      "value": ""
    }
  ],
  "multiStep": {
    "multistepNumber": 0,
    "primaryStep": {
      "individualOutcome": [
        {
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": {},
          "stepId": ""
        }
      ],
      "rollUp": ""
    },
    "primaryStepId": ""
  },
  "name": "",
  "outcome": {
    "failureDetail": {
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    },
    "inconclusiveDetail": {
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    },
    "skippedDetail": {
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    },
    "successDetail": {
      "otherNativeCrash": false
    },
    "summary": ""
  },
  "runDuration": {},
  "state": "",
  "stepId": "",
  "testExecutionStep": {
    "testIssues": [
      {
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": {
          "exception": ""
        },
        "type": "",
        "warning": {
          "typeUrl": "",
          "value": ""
        }
      }
    ],
    "testSuiteOverviews": [
      {
        "elapsedTime": {},
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": {
          "fileUri": ""
        }
      }
    ],
    "testTiming": {
      "testProcessDuration": {}
    },
    "toolExecution": {
      "commandLineArguments": [],
      "exitCode": {
        "number": 0
      },
      "toolLogs": [
        {}
      ],
      "toolOutputs": [
        {
          "creationTime": {},
          "output": {},
          "testCase": {
            "className": "",
            "name": "",
            "testSuiteName": ""
          }
        }
      ]
    }
  },
  "toolExecutionStep": {
    "toolExecution": {}
  }
}' |  \
  http PATCH {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId \
  content-type:application/json
wget --quiet \
  --method PATCH \
  --header 'content-type: application/json' \
  --body-data '{\n  "completionTime": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "creationTime": {},\n  "description": "",\n  "deviceUsageDuration": {\n    "nanos": 0,\n    "seconds": ""\n  },\n  "dimensionValue": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ],\n  "hasImages": false,\n  "labels": [\n    {\n      "key": "",\n      "value": ""\n    }\n  ],\n  "multiStep": {\n    "multistepNumber": 0,\n    "primaryStep": {\n      "individualOutcome": [\n        {\n          "multistepNumber": 0,\n          "outcomeSummary": "",\n          "runDuration": {},\n          "stepId": ""\n        }\n      ],\n      "rollUp": ""\n    },\n    "primaryStepId": ""\n  },\n  "name": "",\n  "outcome": {\n    "failureDetail": {\n      "crashed": false,\n      "deviceOutOfMemory": false,\n      "failedRoboscript": false,\n      "notInstalled": false,\n      "otherNativeCrash": false,\n      "timedOut": false,\n      "unableToCrawl": false\n    },\n    "inconclusiveDetail": {\n      "abortedByUser": false,\n      "hasErrorLogs": false,\n      "infrastructureFailure": false\n    },\n    "skippedDetail": {\n      "incompatibleAppVersion": false,\n      "incompatibleArchitecture": false,\n      "incompatibleDevice": false\n    },\n    "successDetail": {\n      "otherNativeCrash": false\n    },\n    "summary": ""\n  },\n  "runDuration": {},\n  "state": "",\n  "stepId": "",\n  "testExecutionStep": {\n    "testIssues": [\n      {\n        "category": "",\n        "errorMessage": "",\n        "severity": "",\n        "stackTrace": {\n          "exception": ""\n        },\n        "type": "",\n        "warning": {\n          "typeUrl": "",\n          "value": ""\n        }\n      }\n    ],\n    "testSuiteOverviews": [\n      {\n        "elapsedTime": {},\n        "errorCount": 0,\n        "failureCount": 0,\n        "flakyCount": 0,\n        "name": "",\n        "skippedCount": 0,\n        "totalCount": 0,\n        "xmlSource": {\n          "fileUri": ""\n        }\n      }\n    ],\n    "testTiming": {\n      "testProcessDuration": {}\n    },\n    "toolExecution": {\n      "commandLineArguments": [],\n      "exitCode": {\n        "number": 0\n      },\n      "toolLogs": [\n        {}\n      ],\n      "toolOutputs": [\n        {\n          "creationTime": {},\n          "output": {},\n          "testCase": {\n            "className": "",\n            "name": "",\n            "testSuiteName": ""\n          }\n        }\n      ]\n    }\n  },\n  "toolExecutionStep": {\n    "toolExecution": {}\n  }\n}' \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "completionTime": [
    "nanos": 0,
    "seconds": ""
  ],
  "creationTime": [],
  "description": "",
  "deviceUsageDuration": [
    "nanos": 0,
    "seconds": ""
  ],
  "dimensionValue": [
    [
      "key": "",
      "value": ""
    ]
  ],
  "hasImages": false,
  "labels": [
    [
      "key": "",
      "value": ""
    ]
  ],
  "multiStep": [
    "multistepNumber": 0,
    "primaryStep": [
      "individualOutcome": [
        [
          "multistepNumber": 0,
          "outcomeSummary": "",
          "runDuration": [],
          "stepId": ""
        ]
      ],
      "rollUp": ""
    ],
    "primaryStepId": ""
  ],
  "name": "",
  "outcome": [
    "failureDetail": [
      "crashed": false,
      "deviceOutOfMemory": false,
      "failedRoboscript": false,
      "notInstalled": false,
      "otherNativeCrash": false,
      "timedOut": false,
      "unableToCrawl": false
    ],
    "inconclusiveDetail": [
      "abortedByUser": false,
      "hasErrorLogs": false,
      "infrastructureFailure": false
    ],
    "skippedDetail": [
      "incompatibleAppVersion": false,
      "incompatibleArchitecture": false,
      "incompatibleDevice": false
    ],
    "successDetail": ["otherNativeCrash": false],
    "summary": ""
  ],
  "runDuration": [],
  "state": "",
  "stepId": "",
  "testExecutionStep": [
    "testIssues": [
      [
        "category": "",
        "errorMessage": "",
        "severity": "",
        "stackTrace": ["exception": ""],
        "type": "",
        "warning": [
          "typeUrl": "",
          "value": ""
        ]
      ]
    ],
    "testSuiteOverviews": [
      [
        "elapsedTime": [],
        "errorCount": 0,
        "failureCount": 0,
        "flakyCount": 0,
        "name": "",
        "skippedCount": 0,
        "totalCount": 0,
        "xmlSource": ["fileUri": ""]
      ]
    ],
    "testTiming": ["testProcessDuration": []],
    "toolExecution": [
      "commandLineArguments": [],
      "exitCode": ["number": 0],
      "toolLogs": [[]],
      "toolOutputs": [
        [
          "creationTime": [],
          "output": [],
          "testCase": [
            "className": "",
            "name": "",
            "testSuiteName": ""
          ]
        ]
      ]
    ]
  ],
  "toolExecutionStep": ["toolExecution": []]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST toolresults.projects.histories.executions.steps.perfMetricsSummary.create
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary
QUERY PARAMS

projectId
historyId
executionId
stepId
BODY json

{
  "appStartTime": {
    "fullyDrawnTime": {
      "nanos": 0,
      "seconds": ""
    },
    "initialDisplayTime": {}
  },
  "executionId": "",
  "graphicsStats": {
    "buckets": [
      {
        "frameCount": "",
        "renderMillis": ""
      }
    ],
    "highInputLatencyCount": "",
    "jankyFrames": "",
    "missedVsyncCount": "",
    "p50Millis": "",
    "p90Millis": "",
    "p95Millis": "",
    "p99Millis": "",
    "slowBitmapUploadCount": "",
    "slowDrawCount": "",
    "slowUiThreadCount": "",
    "totalFrames": ""
  },
  "historyId": "",
  "perfEnvironment": {
    "cpuInfo": {
      "cpuProcessor": "",
      "cpuSpeedInGhz": "",
      "numberOfCores": 0
    },
    "memoryInfo": {
      "memoryCapInKibibyte": "",
      "memoryTotalInKibibyte": ""
    }
  },
  "perfMetrics": [],
  "projectId": "",
  "stepId": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary" {:content-type :json
                                                                                                                                                                  :form-params {:appStartTime {:fullyDrawnTime {:nanos 0
                                                                                                                                                                                                                :seconds ""}
                                                                                                                                                                                               :initialDisplayTime {}}
                                                                                                                                                                                :executionId ""
                                                                                                                                                                                :graphicsStats {:buckets [{:frameCount ""
                                                                                                                                                                                                           :renderMillis ""}]
                                                                                                                                                                                                :highInputLatencyCount ""
                                                                                                                                                                                                :jankyFrames ""
                                                                                                                                                                                                :missedVsyncCount ""
                                                                                                                                                                                                :p50Millis ""
                                                                                                                                                                                                :p90Millis ""
                                                                                                                                                                                                :p95Millis ""
                                                                                                                                                                                                :p99Millis ""
                                                                                                                                                                                                :slowBitmapUploadCount ""
                                                                                                                                                                                                :slowDrawCount ""
                                                                                                                                                                                                :slowUiThreadCount ""
                                                                                                                                                                                                :totalFrames ""}
                                                                                                                                                                                :historyId ""
                                                                                                                                                                                :perfEnvironment {:cpuInfo {:cpuProcessor ""
                                                                                                                                                                                                            :cpuSpeedInGhz ""
                                                                                                                                                                                                            :numberOfCores 0}
                                                                                                                                                                                                  :memoryInfo {:memoryCapInKibibyte ""
                                                                                                                                                                                                               :memoryTotalInKibibyte ""}}
                                                                                                                                                                                :perfMetrics []
                                                                                                                                                                                :projectId ""
                                                                                                                                                                                :stepId ""}})
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"),
    Content = new StringContent("{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"

	payload := strings.NewReader("{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 840

{
  "appStartTime": {
    "fullyDrawnTime": {
      "nanos": 0,
      "seconds": ""
    },
    "initialDisplayTime": {}
  },
  "executionId": "",
  "graphicsStats": {
    "buckets": [
      {
        "frameCount": "",
        "renderMillis": ""
      }
    ],
    "highInputLatencyCount": "",
    "jankyFrames": "",
    "missedVsyncCount": "",
    "p50Millis": "",
    "p90Millis": "",
    "p95Millis": "",
    "p99Millis": "",
    "slowBitmapUploadCount": "",
    "slowDrawCount": "",
    "slowUiThreadCount": "",
    "totalFrames": ""
  },
  "historyId": "",
  "perfEnvironment": {
    "cpuInfo": {
      "cpuProcessor": "",
      "cpuSpeedInGhz": "",
      "numberOfCores": 0
    },
    "memoryInfo": {
      "memoryCapInKibibyte": "",
      "memoryTotalInKibibyte": ""
    }
  },
  "perfMetrics": [],
  "projectId": "",
  "stepId": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")
  .header("content-type", "application/json")
  .body("{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  appStartTime: {
    fullyDrawnTime: {
      nanos: 0,
      seconds: ''
    },
    initialDisplayTime: {}
  },
  executionId: '',
  graphicsStats: {
    buckets: [
      {
        frameCount: '',
        renderMillis: ''
      }
    ],
    highInputLatencyCount: '',
    jankyFrames: '',
    missedVsyncCount: '',
    p50Millis: '',
    p90Millis: '',
    p95Millis: '',
    p99Millis: '',
    slowBitmapUploadCount: '',
    slowDrawCount: '',
    slowUiThreadCount: '',
    totalFrames: ''
  },
  historyId: '',
  perfEnvironment: {
    cpuInfo: {
      cpuProcessor: '',
      cpuSpeedInGhz: '',
      numberOfCores: 0
    },
    memoryInfo: {
      memoryCapInKibibyte: '',
      memoryTotalInKibibyte: ''
    }
  },
  perfMetrics: [],
  projectId: '',
  stepId: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary',
  headers: {'content-type': 'application/json'},
  data: {
    appStartTime: {fullyDrawnTime: {nanos: 0, seconds: ''}, initialDisplayTime: {}},
    executionId: '',
    graphicsStats: {
      buckets: [{frameCount: '', renderMillis: ''}],
      highInputLatencyCount: '',
      jankyFrames: '',
      missedVsyncCount: '',
      p50Millis: '',
      p90Millis: '',
      p95Millis: '',
      p99Millis: '',
      slowBitmapUploadCount: '',
      slowDrawCount: '',
      slowUiThreadCount: '',
      totalFrames: ''
    },
    historyId: '',
    perfEnvironment: {
      cpuInfo: {cpuProcessor: '', cpuSpeedInGhz: '', numberOfCores: 0},
      memoryInfo: {memoryCapInKibibyte: '', memoryTotalInKibibyte: ''}
    },
    perfMetrics: [],
    projectId: '',
    stepId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"appStartTime":{"fullyDrawnTime":{"nanos":0,"seconds":""},"initialDisplayTime":{}},"executionId":"","graphicsStats":{"buckets":[{"frameCount":"","renderMillis":""}],"highInputLatencyCount":"","jankyFrames":"","missedVsyncCount":"","p50Millis":"","p90Millis":"","p95Millis":"","p99Millis":"","slowBitmapUploadCount":"","slowDrawCount":"","slowUiThreadCount":"","totalFrames":""},"historyId":"","perfEnvironment":{"cpuInfo":{"cpuProcessor":"","cpuSpeedInGhz":"","numberOfCores":0},"memoryInfo":{"memoryCapInKibibyte":"","memoryTotalInKibibyte":""}},"perfMetrics":[],"projectId":"","stepId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "appStartTime": {\n    "fullyDrawnTime": {\n      "nanos": 0,\n      "seconds": ""\n    },\n    "initialDisplayTime": {}\n  },\n  "executionId": "",\n  "graphicsStats": {\n    "buckets": [\n      {\n        "frameCount": "",\n        "renderMillis": ""\n      }\n    ],\n    "highInputLatencyCount": "",\n    "jankyFrames": "",\n    "missedVsyncCount": "",\n    "p50Millis": "",\n    "p90Millis": "",\n    "p95Millis": "",\n    "p99Millis": "",\n    "slowBitmapUploadCount": "",\n    "slowDrawCount": "",\n    "slowUiThreadCount": "",\n    "totalFrames": ""\n  },\n  "historyId": "",\n  "perfEnvironment": {\n    "cpuInfo": {\n      "cpuProcessor": "",\n      "cpuSpeedInGhz": "",\n      "numberOfCores": 0\n    },\n    "memoryInfo": {\n      "memoryCapInKibibyte": "",\n      "memoryTotalInKibibyte": ""\n    }\n  },\n  "perfMetrics": [],\n  "projectId": "",\n  "stepId": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  appStartTime: {fullyDrawnTime: {nanos: 0, seconds: ''}, initialDisplayTime: {}},
  executionId: '',
  graphicsStats: {
    buckets: [{frameCount: '', renderMillis: ''}],
    highInputLatencyCount: '',
    jankyFrames: '',
    missedVsyncCount: '',
    p50Millis: '',
    p90Millis: '',
    p95Millis: '',
    p99Millis: '',
    slowBitmapUploadCount: '',
    slowDrawCount: '',
    slowUiThreadCount: '',
    totalFrames: ''
  },
  historyId: '',
  perfEnvironment: {
    cpuInfo: {cpuProcessor: '', cpuSpeedInGhz: '', numberOfCores: 0},
    memoryInfo: {memoryCapInKibibyte: '', memoryTotalInKibibyte: ''}
  },
  perfMetrics: [],
  projectId: '',
  stepId: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary',
  headers: {'content-type': 'application/json'},
  body: {
    appStartTime: {fullyDrawnTime: {nanos: 0, seconds: ''}, initialDisplayTime: {}},
    executionId: '',
    graphicsStats: {
      buckets: [{frameCount: '', renderMillis: ''}],
      highInputLatencyCount: '',
      jankyFrames: '',
      missedVsyncCount: '',
      p50Millis: '',
      p90Millis: '',
      p95Millis: '',
      p99Millis: '',
      slowBitmapUploadCount: '',
      slowDrawCount: '',
      slowUiThreadCount: '',
      totalFrames: ''
    },
    historyId: '',
    perfEnvironment: {
      cpuInfo: {cpuProcessor: '', cpuSpeedInGhz: '', numberOfCores: 0},
      memoryInfo: {memoryCapInKibibyte: '', memoryTotalInKibibyte: ''}
    },
    perfMetrics: [],
    projectId: '',
    stepId: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  appStartTime: {
    fullyDrawnTime: {
      nanos: 0,
      seconds: ''
    },
    initialDisplayTime: {}
  },
  executionId: '',
  graphicsStats: {
    buckets: [
      {
        frameCount: '',
        renderMillis: ''
      }
    ],
    highInputLatencyCount: '',
    jankyFrames: '',
    missedVsyncCount: '',
    p50Millis: '',
    p90Millis: '',
    p95Millis: '',
    p99Millis: '',
    slowBitmapUploadCount: '',
    slowDrawCount: '',
    slowUiThreadCount: '',
    totalFrames: ''
  },
  historyId: '',
  perfEnvironment: {
    cpuInfo: {
      cpuProcessor: '',
      cpuSpeedInGhz: '',
      numberOfCores: 0
    },
    memoryInfo: {
      memoryCapInKibibyte: '',
      memoryTotalInKibibyte: ''
    }
  },
  perfMetrics: [],
  projectId: '',
  stepId: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary',
  headers: {'content-type': 'application/json'},
  data: {
    appStartTime: {fullyDrawnTime: {nanos: 0, seconds: ''}, initialDisplayTime: {}},
    executionId: '',
    graphicsStats: {
      buckets: [{frameCount: '', renderMillis: ''}],
      highInputLatencyCount: '',
      jankyFrames: '',
      missedVsyncCount: '',
      p50Millis: '',
      p90Millis: '',
      p95Millis: '',
      p99Millis: '',
      slowBitmapUploadCount: '',
      slowDrawCount: '',
      slowUiThreadCount: '',
      totalFrames: ''
    },
    historyId: '',
    perfEnvironment: {
      cpuInfo: {cpuProcessor: '', cpuSpeedInGhz: '', numberOfCores: 0},
      memoryInfo: {memoryCapInKibibyte: '', memoryTotalInKibibyte: ''}
    },
    perfMetrics: [],
    projectId: '',
    stepId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"appStartTime":{"fullyDrawnTime":{"nanos":0,"seconds":""},"initialDisplayTime":{}},"executionId":"","graphicsStats":{"buckets":[{"frameCount":"","renderMillis":""}],"highInputLatencyCount":"","jankyFrames":"","missedVsyncCount":"","p50Millis":"","p90Millis":"","p95Millis":"","p99Millis":"","slowBitmapUploadCount":"","slowDrawCount":"","slowUiThreadCount":"","totalFrames":""},"historyId":"","perfEnvironment":{"cpuInfo":{"cpuProcessor":"","cpuSpeedInGhz":"","numberOfCores":0},"memoryInfo":{"memoryCapInKibibyte":"","memoryTotalInKibibyte":""}},"perfMetrics":[],"projectId":"","stepId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"appStartTime": @{ @"fullyDrawnTime": @{ @"nanos": @0, @"seconds": @"" }, @"initialDisplayTime": @{  } },
                              @"executionId": @"",
                              @"graphicsStats": @{ @"buckets": @[ @{ @"frameCount": @"", @"renderMillis": @"" } ], @"highInputLatencyCount": @"", @"jankyFrames": @"", @"missedVsyncCount": @"", @"p50Millis": @"", @"p90Millis": @"", @"p95Millis": @"", @"p99Millis": @"", @"slowBitmapUploadCount": @"", @"slowDrawCount": @"", @"slowUiThreadCount": @"", @"totalFrames": @"" },
                              @"historyId": @"",
                              @"perfEnvironment": @{ @"cpuInfo": @{ @"cpuProcessor": @"", @"cpuSpeedInGhz": @"", @"numberOfCores": @0 }, @"memoryInfo": @{ @"memoryCapInKibibyte": @"", @"memoryTotalInKibibyte": @"" } },
                              @"perfMetrics": @[  ],
                              @"projectId": @"",
                              @"stepId": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'appStartTime' => [
        'fullyDrawnTime' => [
                'nanos' => 0,
                'seconds' => ''
        ],
        'initialDisplayTime' => [
                
        ]
    ],
    'executionId' => '',
    'graphicsStats' => [
        'buckets' => [
                [
                                'frameCount' => '',
                                'renderMillis' => ''
                ]
        ],
        'highInputLatencyCount' => '',
        'jankyFrames' => '',
        'missedVsyncCount' => '',
        'p50Millis' => '',
        'p90Millis' => '',
        'p95Millis' => '',
        'p99Millis' => '',
        'slowBitmapUploadCount' => '',
        'slowDrawCount' => '',
        'slowUiThreadCount' => '',
        'totalFrames' => ''
    ],
    'historyId' => '',
    'perfEnvironment' => [
        'cpuInfo' => [
                'cpuProcessor' => '',
                'cpuSpeedInGhz' => '',
                'numberOfCores' => 0
        ],
        'memoryInfo' => [
                'memoryCapInKibibyte' => '',
                'memoryTotalInKibibyte' => ''
        ]
    ],
    'perfMetrics' => [
        
    ],
    'projectId' => '',
    'stepId' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary', [
  'body' => '{
  "appStartTime": {
    "fullyDrawnTime": {
      "nanos": 0,
      "seconds": ""
    },
    "initialDisplayTime": {}
  },
  "executionId": "",
  "graphicsStats": {
    "buckets": [
      {
        "frameCount": "",
        "renderMillis": ""
      }
    ],
    "highInputLatencyCount": "",
    "jankyFrames": "",
    "missedVsyncCount": "",
    "p50Millis": "",
    "p90Millis": "",
    "p95Millis": "",
    "p99Millis": "",
    "slowBitmapUploadCount": "",
    "slowDrawCount": "",
    "slowUiThreadCount": "",
    "totalFrames": ""
  },
  "historyId": "",
  "perfEnvironment": {
    "cpuInfo": {
      "cpuProcessor": "",
      "cpuSpeedInGhz": "",
      "numberOfCores": 0
    },
    "memoryInfo": {
      "memoryCapInKibibyte": "",
      "memoryTotalInKibibyte": ""
    }
  },
  "perfMetrics": [],
  "projectId": "",
  "stepId": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'appStartTime' => [
    'fullyDrawnTime' => [
        'nanos' => 0,
        'seconds' => ''
    ],
    'initialDisplayTime' => [
        
    ]
  ],
  'executionId' => '',
  'graphicsStats' => [
    'buckets' => [
        [
                'frameCount' => '',
                'renderMillis' => ''
        ]
    ],
    'highInputLatencyCount' => '',
    'jankyFrames' => '',
    'missedVsyncCount' => '',
    'p50Millis' => '',
    'p90Millis' => '',
    'p95Millis' => '',
    'p99Millis' => '',
    'slowBitmapUploadCount' => '',
    'slowDrawCount' => '',
    'slowUiThreadCount' => '',
    'totalFrames' => ''
  ],
  'historyId' => '',
  'perfEnvironment' => [
    'cpuInfo' => [
        'cpuProcessor' => '',
        'cpuSpeedInGhz' => '',
        'numberOfCores' => 0
    ],
    'memoryInfo' => [
        'memoryCapInKibibyte' => '',
        'memoryTotalInKibibyte' => ''
    ]
  ],
  'perfMetrics' => [
    
  ],
  'projectId' => '',
  'stepId' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'appStartTime' => [
    'fullyDrawnTime' => [
        'nanos' => 0,
        'seconds' => ''
    ],
    'initialDisplayTime' => [
        
    ]
  ],
  'executionId' => '',
  'graphicsStats' => [
    'buckets' => [
        [
                'frameCount' => '',
                'renderMillis' => ''
        ]
    ],
    'highInputLatencyCount' => '',
    'jankyFrames' => '',
    'missedVsyncCount' => '',
    'p50Millis' => '',
    'p90Millis' => '',
    'p95Millis' => '',
    'p99Millis' => '',
    'slowBitmapUploadCount' => '',
    'slowDrawCount' => '',
    'slowUiThreadCount' => '',
    'totalFrames' => ''
  ],
  'historyId' => '',
  'perfEnvironment' => [
    'cpuInfo' => [
        'cpuProcessor' => '',
        'cpuSpeedInGhz' => '',
        'numberOfCores' => 0
    ],
    'memoryInfo' => [
        'memoryCapInKibibyte' => '',
        'memoryTotalInKibibyte' => ''
    ]
  ],
  'perfMetrics' => [
    
  ],
  'projectId' => '',
  'stepId' => ''
]));
$request->setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "appStartTime": {
    "fullyDrawnTime": {
      "nanos": 0,
      "seconds": ""
    },
    "initialDisplayTime": {}
  },
  "executionId": "",
  "graphicsStats": {
    "buckets": [
      {
        "frameCount": "",
        "renderMillis": ""
      }
    ],
    "highInputLatencyCount": "",
    "jankyFrames": "",
    "missedVsyncCount": "",
    "p50Millis": "",
    "p90Millis": "",
    "p95Millis": "",
    "p99Millis": "",
    "slowBitmapUploadCount": "",
    "slowDrawCount": "",
    "slowUiThreadCount": "",
    "totalFrames": ""
  },
  "historyId": "",
  "perfEnvironment": {
    "cpuInfo": {
      "cpuProcessor": "",
      "cpuSpeedInGhz": "",
      "numberOfCores": 0
    },
    "memoryInfo": {
      "memoryCapInKibibyte": "",
      "memoryTotalInKibibyte": ""
    }
  },
  "perfMetrics": [],
  "projectId": "",
  "stepId": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "appStartTime": {
    "fullyDrawnTime": {
      "nanos": 0,
      "seconds": ""
    },
    "initialDisplayTime": {}
  },
  "executionId": "",
  "graphicsStats": {
    "buckets": [
      {
        "frameCount": "",
        "renderMillis": ""
      }
    ],
    "highInputLatencyCount": "",
    "jankyFrames": "",
    "missedVsyncCount": "",
    "p50Millis": "",
    "p90Millis": "",
    "p95Millis": "",
    "p99Millis": "",
    "slowBitmapUploadCount": "",
    "slowDrawCount": "",
    "slowUiThreadCount": "",
    "totalFrames": ""
  },
  "historyId": "",
  "perfEnvironment": {
    "cpuInfo": {
      "cpuProcessor": "",
      "cpuSpeedInGhz": "",
      "numberOfCores": 0
    },
    "memoryInfo": {
      "memoryCapInKibibyte": "",
      "memoryTotalInKibibyte": ""
    }
  },
  "perfMetrics": [],
  "projectId": "",
  "stepId": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"

payload = {
    "appStartTime": {
        "fullyDrawnTime": {
            "nanos": 0,
            "seconds": ""
        },
        "initialDisplayTime": {}
    },
    "executionId": "",
    "graphicsStats": {
        "buckets": [
            {
                "frameCount": "",
                "renderMillis": ""
            }
        ],
        "highInputLatencyCount": "",
        "jankyFrames": "",
        "missedVsyncCount": "",
        "p50Millis": "",
        "p90Millis": "",
        "p95Millis": "",
        "p99Millis": "",
        "slowBitmapUploadCount": "",
        "slowDrawCount": "",
        "slowUiThreadCount": "",
        "totalFrames": ""
    },
    "historyId": "",
    "perfEnvironment": {
        "cpuInfo": {
            "cpuProcessor": "",
            "cpuSpeedInGhz": "",
            "numberOfCores": 0
        },
        "memoryInfo": {
            "memoryCapInKibibyte": "",
            "memoryTotalInKibibyte": ""
        }
    },
    "perfMetrics": [],
    "projectId": "",
    "stepId": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary"

payload <- "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary') do |req|
  req.body = "{\n  \"appStartTime\": {\n    \"fullyDrawnTime\": {\n      \"nanos\": 0,\n      \"seconds\": \"\"\n    },\n    \"initialDisplayTime\": {}\n  },\n  \"executionId\": \"\",\n  \"graphicsStats\": {\n    \"buckets\": [\n      {\n        \"frameCount\": \"\",\n        \"renderMillis\": \"\"\n      }\n    ],\n    \"highInputLatencyCount\": \"\",\n    \"jankyFrames\": \"\",\n    \"missedVsyncCount\": \"\",\n    \"p50Millis\": \"\",\n    \"p90Millis\": \"\",\n    \"p95Millis\": \"\",\n    \"p99Millis\": \"\",\n    \"slowBitmapUploadCount\": \"\",\n    \"slowDrawCount\": \"\",\n    \"slowUiThreadCount\": \"\",\n    \"totalFrames\": \"\"\n  },\n  \"historyId\": \"\",\n  \"perfEnvironment\": {\n    \"cpuInfo\": {\n      \"cpuProcessor\": \"\",\n      \"cpuSpeedInGhz\": \"\",\n      \"numberOfCores\": 0\n    },\n    \"memoryInfo\": {\n      \"memoryCapInKibibyte\": \"\",\n      \"memoryTotalInKibibyte\": \"\"\n    }\n  },\n  \"perfMetrics\": [],\n  \"projectId\": \"\",\n  \"stepId\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary";

    let payload = json!({
        "appStartTime": json!({
            "fullyDrawnTime": json!({
                "nanos": 0,
                "seconds": ""
            }),
            "initialDisplayTime": json!({})
        }),
        "executionId": "",
        "graphicsStats": json!({
            "buckets": (
                json!({
                    "frameCount": "",
                    "renderMillis": ""
                })
            ),
            "highInputLatencyCount": "",
            "jankyFrames": "",
            "missedVsyncCount": "",
            "p50Millis": "",
            "p90Millis": "",
            "p95Millis": "",
            "p99Millis": "",
            "slowBitmapUploadCount": "",
            "slowDrawCount": "",
            "slowUiThreadCount": "",
            "totalFrames": ""
        }),
        "historyId": "",
        "perfEnvironment": json!({
            "cpuInfo": json!({
                "cpuProcessor": "",
                "cpuSpeedInGhz": "",
                "numberOfCores": 0
            }),
            "memoryInfo": json!({
                "memoryCapInKibibyte": "",
                "memoryTotalInKibibyte": ""
            })
        }),
        "perfMetrics": (),
        "projectId": "",
        "stepId": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary \
  --header 'content-type: application/json' \
  --data '{
  "appStartTime": {
    "fullyDrawnTime": {
      "nanos": 0,
      "seconds": ""
    },
    "initialDisplayTime": {}
  },
  "executionId": "",
  "graphicsStats": {
    "buckets": [
      {
        "frameCount": "",
        "renderMillis": ""
      }
    ],
    "highInputLatencyCount": "",
    "jankyFrames": "",
    "missedVsyncCount": "",
    "p50Millis": "",
    "p90Millis": "",
    "p95Millis": "",
    "p99Millis": "",
    "slowBitmapUploadCount": "",
    "slowDrawCount": "",
    "slowUiThreadCount": "",
    "totalFrames": ""
  },
  "historyId": "",
  "perfEnvironment": {
    "cpuInfo": {
      "cpuProcessor": "",
      "cpuSpeedInGhz": "",
      "numberOfCores": 0
    },
    "memoryInfo": {
      "memoryCapInKibibyte": "",
      "memoryTotalInKibibyte": ""
    }
  },
  "perfMetrics": [],
  "projectId": "",
  "stepId": ""
}'
echo '{
  "appStartTime": {
    "fullyDrawnTime": {
      "nanos": 0,
      "seconds": ""
    },
    "initialDisplayTime": {}
  },
  "executionId": "",
  "graphicsStats": {
    "buckets": [
      {
        "frameCount": "",
        "renderMillis": ""
      }
    ],
    "highInputLatencyCount": "",
    "jankyFrames": "",
    "missedVsyncCount": "",
    "p50Millis": "",
    "p90Millis": "",
    "p95Millis": "",
    "p99Millis": "",
    "slowBitmapUploadCount": "",
    "slowDrawCount": "",
    "slowUiThreadCount": "",
    "totalFrames": ""
  },
  "historyId": "",
  "perfEnvironment": {
    "cpuInfo": {
      "cpuProcessor": "",
      "cpuSpeedInGhz": "",
      "numberOfCores": 0
    },
    "memoryInfo": {
      "memoryCapInKibibyte": "",
      "memoryTotalInKibibyte": ""
    }
  },
  "perfMetrics": [],
  "projectId": "",
  "stepId": ""
}' |  \
  http POST {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "appStartTime": {\n    "fullyDrawnTime": {\n      "nanos": 0,\n      "seconds": ""\n    },\n    "initialDisplayTime": {}\n  },\n  "executionId": "",\n  "graphicsStats": {\n    "buckets": [\n      {\n        "frameCount": "",\n        "renderMillis": ""\n      }\n    ],\n    "highInputLatencyCount": "",\n    "jankyFrames": "",\n    "missedVsyncCount": "",\n    "p50Millis": "",\n    "p90Millis": "",\n    "p95Millis": "",\n    "p99Millis": "",\n    "slowBitmapUploadCount": "",\n    "slowDrawCount": "",\n    "slowUiThreadCount": "",\n    "totalFrames": ""\n  },\n  "historyId": "",\n  "perfEnvironment": {\n    "cpuInfo": {\n      "cpuProcessor": "",\n      "cpuSpeedInGhz": "",\n      "numberOfCores": 0\n    },\n    "memoryInfo": {\n      "memoryCapInKibibyte": "",\n      "memoryTotalInKibibyte": ""\n    }\n  },\n  "perfMetrics": [],\n  "projectId": "",\n  "stepId": ""\n}' \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "appStartTime": [
    "fullyDrawnTime": [
      "nanos": 0,
      "seconds": ""
    ],
    "initialDisplayTime": []
  ],
  "executionId": "",
  "graphicsStats": [
    "buckets": [
      [
        "frameCount": "",
        "renderMillis": ""
      ]
    ],
    "highInputLatencyCount": "",
    "jankyFrames": "",
    "missedVsyncCount": "",
    "p50Millis": "",
    "p90Millis": "",
    "p95Millis": "",
    "p99Millis": "",
    "slowBitmapUploadCount": "",
    "slowDrawCount": "",
    "slowUiThreadCount": "",
    "totalFrames": ""
  ],
  "historyId": "",
  "perfEnvironment": [
    "cpuInfo": [
      "cpuProcessor": "",
      "cpuSpeedInGhz": "",
      "numberOfCores": 0
    ],
    "memoryInfo": [
      "memoryCapInKibibyte": "",
      "memoryTotalInKibibyte": ""
    ]
  ],
  "perfMetrics": [],
  "projectId": "",
  "stepId": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfMetricsSummary")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST toolresults.projects.histories.executions.steps.perfSampleSeries.create
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries
QUERY PARAMS

projectId
historyId
executionId
stepId
BODY json

{
  "basicPerfSampleSeries": {
    "perfMetricType": "",
    "perfUnit": "",
    "sampleSeriesLabel": ""
  },
  "executionId": "",
  "historyId": "",
  "projectId": "",
  "sampleSeriesId": "",
  "stepId": ""
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries" {:content-type :json
                                                                                                                                                                :form-params {:basicPerfSampleSeries {:perfMetricType ""
                                                                                                                                                                                                      :perfUnit ""
                                                                                                                                                                                                      :sampleSeriesLabel ""}
                                                                                                                                                                              :executionId ""
                                                                                                                                                                              :historyId ""
                                                                                                                                                                              :projectId ""
                                                                                                                                                                              :sampleSeriesId ""
                                                                                                                                                                              :stepId ""}})
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"),
    Content = new StringContent("{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"

	payload := strings.NewReader("{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 209

{
  "basicPerfSampleSeries": {
    "perfMetricType": "",
    "perfUnit": "",
    "sampleSeriesLabel": ""
  },
  "executionId": "",
  "historyId": "",
  "projectId": "",
  "sampleSeriesId": "",
  "stepId": ""
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")
  .header("content-type", "application/json")
  .body("{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}")
  .asString();
const data = JSON.stringify({
  basicPerfSampleSeries: {
    perfMetricType: '',
    perfUnit: '',
    sampleSeriesLabel: ''
  },
  executionId: '',
  historyId: '',
  projectId: '',
  sampleSeriesId: '',
  stepId: ''
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries',
  headers: {'content-type': 'application/json'},
  data: {
    basicPerfSampleSeries: {perfMetricType: '', perfUnit: '', sampleSeriesLabel: ''},
    executionId: '',
    historyId: '',
    projectId: '',
    sampleSeriesId: '',
    stepId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"basicPerfSampleSeries":{"perfMetricType":"","perfUnit":"","sampleSeriesLabel":""},"executionId":"","historyId":"","projectId":"","sampleSeriesId":"","stepId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "basicPerfSampleSeries": {\n    "perfMetricType": "",\n    "perfUnit": "",\n    "sampleSeriesLabel": ""\n  },\n  "executionId": "",\n  "historyId": "",\n  "projectId": "",\n  "sampleSeriesId": "",\n  "stepId": ""\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({
  basicPerfSampleSeries: {perfMetricType: '', perfUnit: '', sampleSeriesLabel: ''},
  executionId: '',
  historyId: '',
  projectId: '',
  sampleSeriesId: '',
  stepId: ''
}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries',
  headers: {'content-type': 'application/json'},
  body: {
    basicPerfSampleSeries: {perfMetricType: '', perfUnit: '', sampleSeriesLabel: ''},
    executionId: '',
    historyId: '',
    projectId: '',
    sampleSeriesId: '',
    stepId: ''
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  basicPerfSampleSeries: {
    perfMetricType: '',
    perfUnit: '',
    sampleSeriesLabel: ''
  },
  executionId: '',
  historyId: '',
  projectId: '',
  sampleSeriesId: '',
  stepId: ''
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries',
  headers: {'content-type': 'application/json'},
  data: {
    basicPerfSampleSeries: {perfMetricType: '', perfUnit: '', sampleSeriesLabel: ''},
    executionId: '',
    historyId: '',
    projectId: '',
    sampleSeriesId: '',
    stepId: ''
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"basicPerfSampleSeries":{"perfMetricType":"","perfUnit":"","sampleSeriesLabel":""},"executionId":"","historyId":"","projectId":"","sampleSeriesId":"","stepId":""}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"basicPerfSampleSeries": @{ @"perfMetricType": @"", @"perfUnit": @"", @"sampleSeriesLabel": @"" },
                              @"executionId": @"",
                              @"historyId": @"",
                              @"projectId": @"",
                              @"sampleSeriesId": @"",
                              @"stepId": @"" };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'basicPerfSampleSeries' => [
        'perfMetricType' => '',
        'perfUnit' => '',
        'sampleSeriesLabel' => ''
    ],
    'executionId' => '',
    'historyId' => '',
    'projectId' => '',
    'sampleSeriesId' => '',
    'stepId' => ''
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries', [
  'body' => '{
  "basicPerfSampleSeries": {
    "perfMetricType": "",
    "perfUnit": "",
    "sampleSeriesLabel": ""
  },
  "executionId": "",
  "historyId": "",
  "projectId": "",
  "sampleSeriesId": "",
  "stepId": ""
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'basicPerfSampleSeries' => [
    'perfMetricType' => '',
    'perfUnit' => '',
    'sampleSeriesLabel' => ''
  ],
  'executionId' => '',
  'historyId' => '',
  'projectId' => '',
  'sampleSeriesId' => '',
  'stepId' => ''
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'basicPerfSampleSeries' => [
    'perfMetricType' => '',
    'perfUnit' => '',
    'sampleSeriesLabel' => ''
  ],
  'executionId' => '',
  'historyId' => '',
  'projectId' => '',
  'sampleSeriesId' => '',
  'stepId' => ''
]));
$request->setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "basicPerfSampleSeries": {
    "perfMetricType": "",
    "perfUnit": "",
    "sampleSeriesLabel": ""
  },
  "executionId": "",
  "historyId": "",
  "projectId": "",
  "sampleSeriesId": "",
  "stepId": ""
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "basicPerfSampleSeries": {
    "perfMetricType": "",
    "perfUnit": "",
    "sampleSeriesLabel": ""
  },
  "executionId": "",
  "historyId": "",
  "projectId": "",
  "sampleSeriesId": "",
  "stepId": ""
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"

payload = {
    "basicPerfSampleSeries": {
        "perfMetricType": "",
        "perfUnit": "",
        "sampleSeriesLabel": ""
    },
    "executionId": "",
    "historyId": "",
    "projectId": "",
    "sampleSeriesId": "",
    "stepId": ""
}
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"

payload <- "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries') do |req|
  req.body = "{\n  \"basicPerfSampleSeries\": {\n    \"perfMetricType\": \"\",\n    \"perfUnit\": \"\",\n    \"sampleSeriesLabel\": \"\"\n  },\n  \"executionId\": \"\",\n  \"historyId\": \"\",\n  \"projectId\": \"\",\n  \"sampleSeriesId\": \"\",\n  \"stepId\": \"\"\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries";

    let payload = json!({
        "basicPerfSampleSeries": json!({
            "perfMetricType": "",
            "perfUnit": "",
            "sampleSeriesLabel": ""
        }),
        "executionId": "",
        "historyId": "",
        "projectId": "",
        "sampleSeriesId": "",
        "stepId": ""
    });

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries \
  --header 'content-type: application/json' \
  --data '{
  "basicPerfSampleSeries": {
    "perfMetricType": "",
    "perfUnit": "",
    "sampleSeriesLabel": ""
  },
  "executionId": "",
  "historyId": "",
  "projectId": "",
  "sampleSeriesId": "",
  "stepId": ""
}'
echo '{
  "basicPerfSampleSeries": {
    "perfMetricType": "",
    "perfUnit": "",
    "sampleSeriesLabel": ""
  },
  "executionId": "",
  "historyId": "",
  "projectId": "",
  "sampleSeriesId": "",
  "stepId": ""
}' |  \
  http POST {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "basicPerfSampleSeries": {\n    "perfMetricType": "",\n    "perfUnit": "",\n    "sampleSeriesLabel": ""\n  },\n  "executionId": "",\n  "historyId": "",\n  "projectId": "",\n  "sampleSeriesId": "",\n  "stepId": ""\n}' \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries
import Foundation

let headers = ["content-type": "application/json"]
let parameters = [
  "basicPerfSampleSeries": [
    "perfMetricType": "",
    "perfUnit": "",
    "sampleSeriesLabel": ""
  ],
  "executionId": "",
  "historyId": "",
  "projectId": "",
  "sampleSeriesId": "",
  "stepId": ""
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.perfSampleSeries.get
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId
QUERY PARAMS

projectId
historyId
executionId
stepId
sampleSeriesId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.perfSampleSeries.list
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries
QUERY PARAMS

projectId
historyId
executionId
stepId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate
QUERY PARAMS

projectId
historyId
executionId
stepId
sampleSeriesId
BODY json

{
  "perfSamples": [
    {
      "sampleTime": {
        "nanos": 0,
        "seconds": ""
      },
      "value": ""
    }
  ]
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate" {:content-type :json
                                                                                                                                                                                                    :form-params {:perfSamples [{:sampleTime {:nanos 0
                                                                                                                                                                                                                                              :seconds ""}
                                                                                                                                                                                                                                 :value ""}]}})
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate"),
    Content = new StringContent("{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate"

	payload := strings.NewReader("{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 129

{
  "perfSamples": [
    {
      "sampleTime": {
        "nanos": 0,
        "seconds": ""
      },
      "value": ""
    }
  ]
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate")
  .header("content-type", "application/json")
  .body("{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}")
  .asString();
const data = JSON.stringify({
  perfSamples: [
    {
      sampleTime: {
        nanos: 0,
        seconds: ''
      },
      value: ''
    }
  ]
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate',
  headers: {'content-type': 'application/json'},
  data: {perfSamples: [{sampleTime: {nanos: 0, seconds: ''}, value: ''}]}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"perfSamples":[{"sampleTime":{"nanos":0,"seconds":""},"value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "perfSamples": [\n    {\n      "sampleTime": {\n        "nanos": 0,\n        "seconds": ""\n      },\n      "value": ""\n    }\n  ]\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({perfSamples: [{sampleTime: {nanos: 0, seconds: ''}, value: ''}]}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate',
  headers: {'content-type': 'application/json'},
  body: {perfSamples: [{sampleTime: {nanos: 0, seconds: ''}, value: ''}]},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  perfSamples: [
    {
      sampleTime: {
        nanos: 0,
        seconds: ''
      },
      value: ''
    }
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate',
  headers: {'content-type': 'application/json'},
  data: {perfSamples: [{sampleTime: {nanos: 0, seconds: ''}, value: ''}]}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"perfSamples":[{"sampleTime":{"nanos":0,"seconds":""},"value":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"perfSamples": @[ @{ @"sampleTime": @{ @"nanos": @0, @"seconds": @"" }, @"value": @"" } ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'perfSamples' => [
        [
                'sampleTime' => [
                                'nanos' => 0,
                                'seconds' => ''
                ],
                'value' => ''
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate', [
  'body' => '{
  "perfSamples": [
    {
      "sampleTime": {
        "nanos": 0,
        "seconds": ""
      },
      "value": ""
    }
  ]
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'perfSamples' => [
    [
        'sampleTime' => [
                'nanos' => 0,
                'seconds' => ''
        ],
        'value' => ''
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'perfSamples' => [
    [
        'sampleTime' => [
                'nanos' => 0,
                'seconds' => ''
        ],
        'value' => ''
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "perfSamples": [
    {
      "sampleTime": {
        "nanos": 0,
        "seconds": ""
      },
      "value": ""
    }
  ]
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "perfSamples": [
    {
      "sampleTime": {
        "nanos": 0,
        "seconds": ""
      },
      "value": ""
    }
  ]
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate"

payload = { "perfSamples": [
        {
            "sampleTime": {
                "nanos": 0,
                "seconds": ""
            },
            "value": ""
        }
    ] }
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate"

payload <- "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate') do |req|
  req.body = "{\n  \"perfSamples\": [\n    {\n      \"sampleTime\": {\n        \"nanos\": 0,\n        \"seconds\": \"\"\n      },\n      \"value\": \"\"\n    }\n  ]\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate";

    let payload = json!({"perfSamples": (
            json!({
                "sampleTime": json!({
                    "nanos": 0,
                    "seconds": ""
                }),
                "value": ""
            })
        )});

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate \
  --header 'content-type: application/json' \
  --data '{
  "perfSamples": [
    {
      "sampleTime": {
        "nanos": 0,
        "seconds": ""
      },
      "value": ""
    }
  ]
}'
echo '{
  "perfSamples": [
    {
      "sampleTime": {
        "nanos": 0,
        "seconds": ""
      },
      "value": ""
    }
  ]
}' |  \
  http POST {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "perfSamples": [\n    {\n      "sampleTime": {\n        "nanos": 0,\n        "seconds": ""\n      },\n      "value": ""\n    }\n  ]\n}' \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate
import Foundation

let headers = ["content-type": "application/json"]
let parameters = ["perfSamples": [
    [
      "sampleTime": [
        "nanos": 0,
        "seconds": ""
      ],
      "value": ""
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples:batchCreate")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples
QUERY PARAMS

projectId
historyId
executionId
stepId
sampleSeriesId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/perfSampleSeries/:sampleSeriesId/samples")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST toolresults.projects.histories.executions.steps.publishXunitXmlFiles
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles
QUERY PARAMS

projectId
historyId
executionId
stepId
BODY json

{
  "xunitXmlFiles": [
    {
      "fileUri": ""
    }
  ]
}
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "content-type: application/json");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles" {:content-type :json
                                                                                                                                                                    :form-params {:xunitXmlFiles [{:fileUri ""}]}})
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles"
headers = HTTP::Headers{
  "content-type" => "application/json"
}
reqBody = "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}"

response = HTTP::Client.post url, headers: headers, body: reqBody
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles"),
    Content = new StringContent("{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}")
    {
        Headers =
        {
            ContentType = new MediaTypeHeaderValue("application/json")
        }
    }
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles");
var request = new RestRequest("", Method.Post);
request.AddHeader("content-type", "application/json");
request.AddParameter("application/json", "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}", ParameterType.RequestBody);
var response = client.Execute(request);
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles"

	payload := strings.NewReader("{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("content-type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles HTTP/1.1
Content-Type: application/json
Host: example.com
Content-Length: 60

{
  "xunitXmlFiles": [
    {
      "fileUri": ""
    }
  ]
}
AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles")
  .setHeader("content-type", "application/json")
  .setBody("{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles"))
    .header("content-type", "application/json")
    .method("POST", HttpRequest.BodyPublishers.ofString("{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}"))
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}");
Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles")
  .post(body)
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles")
  .header("content-type", "application/json")
  .body("{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}")
  .asString();
const data = JSON.stringify({
  xunitXmlFiles: [
    {
      fileUri: ''
    }
  ]
});

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles');
xhr.setRequestHeader('content-type', 'application/json');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles',
  headers: {'content-type': 'application/json'},
  data: {xunitXmlFiles: [{fileUri: ''}]}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"xunitXmlFiles":[{"fileUri":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles',
  method: 'POST',
  headers: {
    'content-type': 'application/json'
  },
  processData: false,
  data: '{\n  "xunitXmlFiles": [\n    {\n      "fileUri": ""\n    }\n  ]\n}'
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val mediaType = MediaType.parse("application/json")
val body = RequestBody.create(mediaType, "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}")
val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles")
  .post(body)
  .addHeader("content-type", "application/json")
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles',
  headers: {
    'content-type': 'application/json'
  }
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.write(JSON.stringify({xunitXmlFiles: [{fileUri: ''}]}));
req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles',
  headers: {'content-type': 'application/json'},
  body: {xunitXmlFiles: [{fileUri: ''}]},
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles');

req.headers({
  'content-type': 'application/json'
});

req.type('json');
req.send({
  xunitXmlFiles: [
    {
      fileUri: ''
    }
  ]
});

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles',
  headers: {'content-type': 'application/json'},
  data: {xunitXmlFiles: [{fileUri: ''}]}
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles';
const options = {
  method: 'POST',
  headers: {'content-type': 'application/json'},
  body: '{"xunitXmlFiles":[{"fileUri":""}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSDictionary *headers = @{ @"content-type": @"application/json" };
NSDictionary *parameters = @{ @"xunitXmlFiles": @[ @{ @"fileUri": @"" } ] };

NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles" in
let headers = Header.add (Header.init ()) "content-type" "application/json" in
let body = Cohttp_lwt_body.of_string "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}" in

Client.call ~headers ~body `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'xunitXmlFiles' => [
        [
                'fileUri' => ''
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "content-type: application/json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles', [
  'body' => '{
  "xunitXmlFiles": [
    {
      "fileUri": ""
    }
  ]
}',
  'headers' => [
    'content-type' => 'application/json',
  ],
]);

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles');
$request->setMethod(HTTP_METH_POST);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$request->setContentType('application/json');
$request->setBody(json_encode([
  'xunitXmlFiles' => [
    [
        'fileUri' => ''
    ]
  ]
]));

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
append(json_encode([
  'xunitXmlFiles' => [
    [
        'fileUri' => ''
    ]
  ]
]));
$request->setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders([
  'content-type' => 'application/json'
]);

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "xunitXmlFiles": [
    {
      "fileUri": ""
    }
  ]
}'
$headers=@{}
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles' -Method POST -Headers $headers -ContentType 'application/json' -Body '{
  "xunitXmlFiles": [
    {
      "fileUri": ""
    }
  ]
}'
import http.client

conn = http.client.HTTPSConnection("example.com")

payload = "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}"

headers = { 'content-type': "application/json" }

conn.request("POST", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles", payload, headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles"

payload = { "xunitXmlFiles": [{ "fileUri": "" }] }
headers = {"content-type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles"

payload <- "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}"

encode <- "json"

response <- VERB("POST", url, body = payload, content_type("application/json"), encode = encode)

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["content-type"] = 'application/json'
request.body = "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
  headers: {'Content-Type' => 'application/json'}
)

response = conn.post('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles') do |req|
  req.body = "{\n  \"xunitXmlFiles\": [\n    {\n      \"fileUri\": \"\"\n    }\n  ]\n}"
end

puts response.status
puts response.body
use serde_json::json;
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles";

    let payload = json!({"xunitXmlFiles": (json!({"fileUri": ""}))});

    let mut headers = reqwest::header::HeaderMap::new();
    headers.insert("content-type", "application/json".parse().unwrap());

    let client = reqwest::Client::new();
    let response = client.post(url)
        .headers(headers)
        .json(&payload)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles \
  --header 'content-type: application/json' \
  --data '{
  "xunitXmlFiles": [
    {
      "fileUri": ""
    }
  ]
}'
echo '{
  "xunitXmlFiles": [
    {
      "fileUri": ""
    }
  ]
}' |  \
  http POST {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles \
  content-type:application/json
wget --quiet \
  --method POST \
  --header 'content-type: application/json' \
  --body-data '{\n  "xunitXmlFiles": [\n    {\n      "fileUri": ""\n    }\n  ]\n}' \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles
import Foundation

let headers = ["content-type": "application/json"]
let parameters = ["xunitXmlFiles": [["fileUri": ""]]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId:publishXunitXmlFiles")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.testCases.get
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId
QUERY PARAMS

projectId
historyId
executionId
stepId
testCaseId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases/:testCaseId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.testCases.list
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases
QUERY PARAMS

projectId
historyId
executionId
stepId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/testCases")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.executions.steps.thumbnails.list
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails
QUERY PARAMS

projectId
historyId
executionId
stepId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId/executions/:executionId/steps/:stepId/thumbnails")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.get
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId
QUERY PARAMS

projectId
historyId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories/:historyId') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories/:historyId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
GET toolresults.projects.histories.list
{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories
QUERY PARAMS

projectId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/get "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"

response = HTTP::Client.get url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Get,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories");
var request = new RestRequest("", Method.Get);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
GET /baseUrl/toolresults/v1beta3/projects/:projectId/histories HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("GET", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")
  .get()
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.get("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories',
  method: 'GET',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")
  .get()
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'GET',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId/histories',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'GET',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"GET"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories" in

Client.call `GET uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('GET', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories');
$request->setMethod(HTTP_METH_GET);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories');
$request->setRequestMethod('GET');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories' -Method GET 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories' -Method GET 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("GET", "/baseUrl/toolresults/v1beta3/projects/:projectId/histories")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"

response = requests.get(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories"

response <- VERB("GET", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.get('/baseUrl/toolresults/v1beta3/projects/:projectId/histories') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories";

    let client = reqwest::Client::new();
    let response = client.get(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request GET \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories
http GET {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories
wget --quiet \
  --method GET \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId/histories")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
POST toolresults.projects.initializeSettings
{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings
QUERY PARAMS

projectId
Examples
REQUEST

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");
curl_easy_setopt(hnd, CURLOPT_URL, "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings");

CURLcode ret = curl_easy_perform(hnd);
(require '[clj-http.client :as client])

(client/post "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings")
require "http/client"

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings"

response = HTTP::Client.post url
puts response.body
using System.Net.Http.Headers;
var client = new HttpClient();
var request = new HttpRequestMessage
{
    Method = HttpMethod.Post,
    RequestUri = new Uri("{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings"),
};
using (var response = await client.SendAsync(request))
{
    response.EnsureSuccessStatusCode();
    var body = await response.Content.ReadAsStringAsync();
    Console.WriteLine(body);
}
var client = new RestClient("{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings");
var request = new RestRequest("", Method.Post);
var response = client.Execute(request);
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings"

	req, _ := http.NewRequest("POST", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
POST /baseUrl/toolresults/v1beta3/projects/:projectId:initializeSettings HTTP/1.1
Host: example.com

AsyncHttpClient client = new DefaultAsyncHttpClient();
client.prepare("POST", "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings")
  .execute()
  .toCompletableFuture()
  .thenAccept(System.out::println)
  .join();

client.close();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings"))
    .method("POST", HttpRequest.BodyPublishers.noBody())
    .build();
HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings")
  .post(null)
  .build();

Response response = client.newCall(request).execute();
HttpResponse response = Unirest.post("{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings")
  .asString();
const data = null;

const xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener('readystatechange', function () {
  if (this.readyState === this.DONE) {
    console.log(this.responseText);
  }
});

xhr.open('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings');

xhr.send(data);
import axios from 'axios';

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings';
const options = {method: 'POST'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
const settings = {
  async: true,
  crossDomain: true,
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings',
  method: 'POST',
  headers: {}
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
val client = OkHttpClient()

val request = Request.Builder()
  .url("{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings")
  .post(null)
  .build()

val response = client.newCall(request).execute()
const http = require('https');

const options = {
  method: 'POST',
  hostname: 'example.com',
  port: null,
  path: '/baseUrl/toolresults/v1beta3/projects/:projectId:initializeSettings',
  headers: {}
};

const req = http.request(options, function (res) {
  const chunks = [];

  res.on('data', function (chunk) {
    chunks.push(chunk);
  });

  res.on('end', function () {
    const body = Buffer.concat(chunks);
    console.log(body.toString());
  });
});

req.end();
const request = require('request');

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings'
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
const unirest = require('unirest');

const req = unirest('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings');

req.end(function (res) {
  if (res.error) throw new Error(res.error);

  console.log(res.body);
});
const axios = require('axios').default;

const options = {
  method: 'POST',
  url: '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings'
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}
const fetch = require('node-fetch');

const url = '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings';
const options = {method: 'POST'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
#import 

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings"]
                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy
                                                   timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];

NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
                                            completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
                                                if (error) {
                                                    NSLog(@"%@", error);
                                                } else {
                                                    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
                                                    NSLog(@"%@", httpResponse);
                                                }
                                            }];
[dataTask resume];
open Cohttp_lwt_unix
open Cohttp
open Lwt

let uri = Uri.of_string "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings" in

Client.call `POST uri
>>= fun (res, body_stream) ->
  (* Do stuff with the result *)
 "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
request('POST', '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings');

echo $response->getBody();
setUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings');
$request->setMethod(HTTP_METH_POST);

try {
  $response = $request->send();

  echo $response->getBody();
} catch (HttpException $ex) {
  echo $ex;
}
setRequestUrl('{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings');
$request->setRequestMethod('POST');
$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();
$response = Invoke-WebRequest -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings' -Method POST 
$response = Invoke-RestMethod -Uri '{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings' -Method POST 
import http.client

conn = http.client.HTTPSConnection("example.com")

conn.request("POST", "/baseUrl/toolresults/v1beta3/projects/:projectId:initializeSettings")

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
import requests

url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings"

response = requests.post(url)

print(response.json())
library(httr)

url <- "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings"

response <- VERB("POST", url, content_type("application/octet-stream"))

content(response, "text")
require 'uri'
require 'net/http'

url = URI("{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
require 'faraday'

conn = Faraday.new(
  url: 'https://example.com',
)

response = conn.post('/baseUrl/toolresults/v1beta3/projects/:projectId:initializeSettings') do |req|
end

puts response.status
puts response.body
use reqwest;

#[tokio::main]
pub async fn main() {
    let url = "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings";

    let client = reqwest::Client::new();
    let response = client.post(url)
        .send()
        .await;

    let results = response.unwrap()
        .json::()
        .await
        .unwrap();

    dbg!(results);
}
curl --request POST \
  --url {{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings
http POST {{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings
wget --quiet \
  --method POST \
  --output-document \
  - {{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "{{baseUrl}}/toolresults/v1beta3/projects/:projectId:initializeSettings")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()