Cloud Tool Results API

Geliştirici araçlarından sonuçları yayınlamak ve bunlara erişmek için API.

Hizmet: toolresults.googleapis.com

Bu hizmeti çağırmak için Google tarafından sağlanan istemci kitaplıklarını kullanmanızı öneririz. Uygulamanızın bu hizmeti çağırmak için kendi kitaplıklarınızı kullanması gerekiyorsa API isteklerini yaparken aşağıdaki bilgileri kullanın.

Keşif belgesi

Keşif Belgesi, REST API'lerini tanımlamak ve tüketmek için makine tarafından okunabilen bir spesifikasyondur. İstemci kitaplıkları, IDE eklentileri ve Google API'leriyle etkileşime giren diğer araçları oluşturmak için kullanılır. Bir hizmet birden fazla keşif belgesi sağlayabilir. Bu hizmet aşağıdaki keşif belgesini sağlar:

Hizmet uç noktası

Hizmet uç noktası, bir API hizmetinin ağ adresini belirten bir temel URL'dir. Bir hizmetin birden fazla hizmet uç noktası olabilir. Bu hizmet aşağıdaki hizmet uç noktasına sahiptir ve aşağıdaki tüm URI'ler bu hizmet uç noktasına göredir:

  • https://toolresults.googleapis.com

REST Kaynağı: v1beta3.projects

Yöntemler
getSettings GET /toolresults/v1beta3/projects/{projectId}/settings
Bir proje için Araç Sonuçları ayarlarını alır.
initializeSettings POST /toolresults/v1beta3/projects/{projectId}:initializeSettings
Henüz belirlenmemiş ayarlar için kaynak oluşturur.

REST Kaynağı: v1beta3.projects.histories

Yöntemler
create POST /toolresults/v1beta3/projects/{projectId}/histories
Bir Tarih Oluşturur.
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}
Bir Tarih Alır.
list GET /toolresults/v1beta3/projects/{projectId}/histories
Belirli bir Projeye ilişkin Geçmişleri listeler.

REST Kaynağı: v1beta3.projects.histories.executions

Yöntemler
create POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions
Bir Yürütme oluşturur.
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}
Bir İnfaz alır.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions
Belirli bir Geçmişe ilişkin Yürütmeleri listeler.
patch PATCH /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}
Mevcut bir Yürütmeyi sağlanan kısmi varlıkla günceller.

REST Kaynağı: v1beta3.projects.histories.executions.clusters

Yöntemler
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}
Kimliğine göre tek bir ekran görüntüsü kümesini alır
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters

Ekran Görüntüsü Kümelerini Listeler

Bir yürütmeye karşılık gelen ekran görüntüsü kümelerinin listesini döndürür.

REST Kaynağı: v1beta3.projects.histories.executions.environments

Yöntemler
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}
Bir Ortam Kazanır.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments
Belirli bir Yürütme için Ortamları listeler.

REST Kaynağı: v1beta3.projects.histories.executions.steps

Yöntemler
accessibilityClusters GET /toolresults/v1beta3/{name=projects/*/histories/*/executions/*/steps/*}:accessibilityClusters

Belirli bir Adım için erişilebilirlik kümelerini listeler

Aşağıdaki standart hata kodlarından herhangi birini döndürebilir:

  • PERMISSION_DENIED - kullanıcının projeyi okuma yetkisi yoksa
  • INVALID_ARGUMENT - istek hatalı biçimlendirilmişse
  • FAILED_PRECONDITION - istekteki bir argüman geçersizse; Örneğin
create POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps
Bir Adım Oluşturur.
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}
Bir Adım Alır.
getPerfMetricsSummary GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary
PerfMetricsSummary'yi alır.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps
Belirli bir Yürütme için Adımları listeler.
patch PATCH /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}
Sağlanan kısmi varlıkla mevcut bir Adımı günceller.
publishXunitXmlFiles POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles
Xml dosyalarını mevcut bir Step'e yayınlayın.

REST Kaynağı: v1beta3.projects.histories.executions.steps.perfMetricsSummary

Yöntemler
create POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary
Bir PerfMetricsSummary kaynağı oluşturur.

REST Kaynağı: v1beta3.projects.histories.executions.steps.perfSampleSeries

Yöntemler
create POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries
Bir PerfSampleSeries oluşturur.
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}
Bir PerfSampleSeries alır.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries
Belirli bir Adım için PerfSampleSeries'i listeler.

REST Kaynağı: v1beta3.projects.histories.executions.steps.perfSampleSeries.samples

Yöntemler
batchCreate POST /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate
Bir PerfSamples grubu oluşturur - bir istemci, büyük bir istek yükünü bölmek için bu yönteme tekrarlanan çağrılar aracılığıyla birden fazla Perf Samples grubu gönderebilir - kopyalar ve mevcut zaman damgası girişleri göz ardı edilecektir.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples

Belirli bir Örnek Serisinin Performans Örneklerini Listeler - Liste sonuçları zaman damgalarına göre artan şekilde sıralanır - Varsayılan sayfa boyutu 500 örnektir; ve izin verilen maksimum boyut 5000 - Yanıt jetonu, döndürülen son PerfSample zaman damgasını gösterir - Sonuçların boyutu sayfa boyutunu aştığında, geri kalan örnekleri sayfa sınırına kadar döndürmek için sayfa jetonunu içeren sonraki bir istek gönderin

Aşağıdaki kurallı hata kodlarından herhangi birini döndürebilir: - OUT_OF_RANGE - Belirtilen istek page_token geçerli aralığın dışında - NOT_FOUND - İçeren PerfSampleSeries mevcut değil

REST Kaynağı: v1beta3.projects.histories.executions.steps.testCases

Yöntemler
get GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}
Bir Adım için Test Senaryosunun ayrıntılarını alır.
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases
Bir Adıma eklenen Test Durumlarını listeler.

REST Kaynağı: v1beta3.projects.histories.executions.steps.thumbnails

Yöntemler
list GET /toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails
Bir adıma eklenen görüntülerin küçük resimlerini listeler.