Compare Test Results
curl --request GET \
--url https://api.hixbe.com/speedtest/comparison \
--header 'Xerobi-Version: <xerobi-version>'import requests
url = "https://api.hixbe.com/speedtest/comparison"
headers = {"Xerobi-Version": "<xerobi-version>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Xerobi-Version': '<xerobi-version>'}};
fetch('https://api.hixbe.com/speedtest/comparison', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hixbe.com/speedtest/comparison",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Xerobi-Version: <xerobi-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hixbe.com/speedtest/comparison"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Xerobi-Version", "<xerobi-version>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hixbe.com/speedtest/comparison")
.header("Xerobi-Version", "<xerobi-version>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hixbe.com/speedtest/comparison")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Xerobi-Version"] = '<xerobi-version>'
response = http.request(request)
puts response.read_body{
"success": true,
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"results": [
"<unknown>"
],
"analysis": {
"improvement": 123,
"trend": "improving",
"averageQualityScore": 123
}
}
}{
"success": false,
"timestamp": "2025-12-07T10:30:00.000Z",
"error": {
"code": "insufficient_data",
"message": "Need at least 2 test results for comparison",
"type": "ValidationError"
}
}Comparison Report
Compares the latest test result with the previous one, showing differences and percentage changes.
Comparison Metrics:
- Absolute difference between tests
- Percentage change
- Improvement/degradation indicators
- Side-by-side values
Use Cases:
- Track performance changes
- Identify network degradation
- Verify improvements after changes
- Monitor consistency
Requirements: At least 2 test results must exist.
GET
/
comparison
Compare Test Results
curl --request GET \
--url https://api.hixbe.com/speedtest/comparison \
--header 'Xerobi-Version: <xerobi-version>'import requests
url = "https://api.hixbe.com/speedtest/comparison"
headers = {"Xerobi-Version": "<xerobi-version>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Xerobi-Version': '<xerobi-version>'}};
fetch('https://api.hixbe.com/speedtest/comparison', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.hixbe.com/speedtest/comparison",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Xerobi-Version: <xerobi-version>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.hixbe.com/speedtest/comparison"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Xerobi-Version", "<xerobi-version>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.hixbe.com/speedtest/comparison")
.header("Xerobi-Version", "<xerobi-version>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hixbe.com/speedtest/comparison")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Xerobi-Version"] = '<xerobi-version>'
response = http.request(request)
puts response.read_body{
"success": true,
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"results": [
"<unknown>"
],
"analysis": {
"improvement": 123,
"trend": "improving",
"averageQualityScore": 123
}
}
}{
"success": false,
"timestamp": "2025-12-07T10:30:00.000Z",
"error": {
"code": "insufficient_data",
"message": "Need at least 2 test results for comparison",
"type": "ValidationError"
}
}Generate comparison reports between multiple test results to analyze performance trends.