TestSuiteExecution
tests.testkube.io / v1
apiVersion: tests.testkube.io/v1
kind: TestSuiteExecution
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
TestSuiteExecutionSpec defines the desired state of TestSuiteExecution
executionRequest object
test suite execution request body
concurrencyLevel
integer
number of tests run in parallel
format:
int32contentRequest object
test content request body
repository object
repository parameters for tests in git repositories
branch
string
branch/tag name for checkout
commit
string
commit id (sha) for checkout
path
string
if needed we can checkout particular path (dir or file) in case of BIG/mono repositories
workingDir
string
if provided we checkout the whole repository and run test from this directory
cronJobTemplate
string
cron job template extensions
disableWebhooks
boolean
whether webhooks should be disabled for this execution
executionLabels
object
execution labels
httpProxy
string
http proxy for executor containers
httpsProxy
string
https proxy for executor containers
labels
object
test suite labels
name
string
test execution custom name
namespace
string
test kubernetes namespace (\"testkube\" when not set)
number
integer
test suite execution number
format:
int32runningContext object
running context for test or test suite execution
context
string
Context value depending from its type
type
string required
One of possible context types
enum:
user-cli, user-ui, testsuite, testtrigger, scheduler, testexecution, testsuiteexecution
secretUUID
string
secret uuid
sync
boolean
whether to start execution sync or async
testSuiteExecutionName
string
test suite execution name started the test suite execution
timeout
integer
duration in seconds the test suite may be active, until its stopped
format:
int32
variables
object
testSuite object required
name
string required
object name
namespace
string
object kubernetes namespace
status object
TestSuiteExecutionStatus defines the observed state of TestSuiteExecution
generation
integer
test status execution generation
format:
int64latestExecution object
INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file
disableWebhooks
boolean
whether webhooks should be disabled for this execution
duration
string
test duration
durationMs
integer
test duration in ms
format:
int32
endTime
string
test end time
format:
date-time
envs
object
Environment variables passed to executor. Deprecated: use Basic Variables instead
executeStepResults []object
batch steps execution results
duration
string
step duration
endTime
string
step end time
format:
date-timeexecute []object
execution object
test execution
args
[]string
additional arguments/flags passed to executor binary
args_mode
string
usage mode for arguments
enum:
append, override, replaceartifactRequest object
artifact request body with test artifacts
dirs
[]string
artifact directories for scraping
masks
[]string
regexp to filter scraped artifacts, single or comma separated
omitFolderPerExecution
boolean
don't use a separate folder for execution artifacts
sharedBetweenPods
boolean
whether to share volume between pods
sidecarScraper
boolean
run scraper as pod sidecar container
storageBucket
string
artifact bucket storage
storageClassName
string
artifact storage class name for container executor
useDefaultStorageClassName
boolean
whether to use default storage class name
volumeMountPath
string
artifact volume mount path for container executor
bucketName
string
minio bucket name to get uploads from
command
[]string
executor image command
containerShell
string
shell used in container executor
content object
TestContent defines test content
data
string
test content body
repository object
repository of test content
authType
string
auth type for git requests
enum:
basic, header
branch
string
branch/tag name for checkout
certificateSecret
string
git auth certificate secret for private repositories
commit
string
commit id (sha) for checkout
path
string
if needed we can checkout particular path (dir or file) in case of BIG/mono repositories
tokenSecret object
Testkube internal reference for secret storage in Kubernetes secrets
key
string required
object key
name
string required
object name
namespace
string
object kubernetes namespace
type
string
VCS repository type
uri
string
uri of content file or git directory
usernameSecret object
Testkube internal reference for secret storage in Kubernetes secrets
key
string required
object key
name
string required
object name
namespace
string
object kubernetes namespace
workingDir
string
if provided we checkout the whole repository and run test from this directory
type
string
test type
enum:
string, file-uri, git-file, git-dir, git
uri
string
uri of test content
disableWebhooks
boolean
whether webhooks should be called on execution
duration
string
test duration
durationMs
integer
test duration in milliseconds
format:
int32
endTime
string
test end time
format:
date-time
envs
object
Environment variables passed to executor. Deprecated: use Basic Variables instead
executePostRunScriptBeforeScraping
boolean
execute post run script before scraping (prebuilt executor only)
executionNamespace
string
namespace for test execution (Pro edition only)
executionResult object
execution result returned from executor
errorMessage
string
error message when status is error, separate to output as output can be partial in case of error
reports object
junit
string
status
string required
enum:
queued, running, passed, failed, aborted, timeoutsteps []object
execution steps (for collection of requests)
assertionResults []object
errorMessage
string
name
string
status
string
duration
string
name
string required
step name
status
string required
execution step status
id
string
execution id
isVariablesFileUploaded
boolean
in case the variables file is too big, it will be uploaded to storage
labels
object
test and execution labels
name
string
execution name
number
integer
execution number
format:
int32
postRunScript
string
script to run after test execution
preRunScript
string
script to run before test execution
runningContext object
running context for test or test suite execution
context
string
Context value depending from its type
type
string required
One of possible context types
enum:
user-cli, user-ui, testsuite, testtrigger, scheduler, testexecution, testsuiteexecutionslavePodRequest object
pod request body
podTemplate
string
pod template extensions
podTemplateReference
string
name of the template resource
resources object
pod resources request specification
limits object
resource request specification
cpu
string
requested cpu units
memory
string
requested memory units
requests object
resource request specification
cpu
string
requested cpu units
memory
string
requested memory units
sourceScripts
boolean
run scripts using source command (container executor only)
startTime
string
test start time
format:
date-time
testExecutionName
string
test execution name started the test execution
testName
string
unique test name (CRD Test name)
testNamespace
string
test namespace
testSecretUUID
string
test secret uuid
testSuiteName
string
unique test suite name (CRD Test suite name), if it's run as a part of test suite
testSuiteSecretUUID
string
test suite secret uuid, if it's run as a part of test suite
testType
string
test type e.g. postman/collection
uploads
[]string
list of file paths that need to be copied into the test from uploads
variables
object
variablesFile
string
variables file content - need to be in format for particular executor (e.g. postman envs file)
step object
delay
string
delay duration in time units
test
string
object name
test object
name
string required
object name
namespace
string
object kubernetes namespace
startTime
string
step start time
format:
date-timestep object
set of steps run in parallel
execute []object
delay
string
delay duration in time units
test
string
object name
stopOnFailure
boolean required
id
string required
execution id
labels
object
test suite labels
name
string required
execution name
runningContext object
running context for test or test suite execution
context
string
Context value depending from its type
type
string required
One of possible context types
enum:
user-cli, user-ui, testsuite, testtrigger, scheduler, testexecution, testsuiteexecution
secretUUID
string
secret uuid
startTime
string
test start time
format:
date-time
status
string
enum:
queued, running, passed, failed, aborting, aborted, timeoutstepResults []object
steps execution results
execution object
test execution
args
[]string
additional arguments/flags passed to executor binary
args_mode
string
usage mode for arguments
enum:
append, override, replaceartifactRequest object
artifact request body with test artifacts
dirs
[]string
artifact directories for scraping
masks
[]string
regexp to filter scraped artifacts, single or comma separated
omitFolderPerExecution
boolean
don't use a separate folder for execution artifacts
sharedBetweenPods
boolean
whether to share volume between pods
sidecarScraper
boolean
run scraper as pod sidecar container
storageBucket
string
artifact bucket storage
storageClassName
string
artifact storage class name for container executor
useDefaultStorageClassName
boolean
whether to use default storage class name
volumeMountPath
string
artifact volume mount path for container executor
bucketName
string
minio bucket name to get uploads from
command
[]string
executor image command
containerShell
string
shell used in container executor
content object
TestContent defines test content
data
string
test content body
repository object
repository of test content
authType
string
auth type for git requests
enum:
basic, header
branch
string
branch/tag name for checkout
certificateSecret
string
git auth certificate secret for private repositories
commit
string
commit id (sha) for checkout
path
string
if needed we can checkout particular path (dir or file) in case of BIG/mono repositories
tokenSecret object
Testkube internal reference for secret storage in Kubernetes secrets
key
string required
object key
name
string required
object name
namespace
string
object kubernetes namespace
type
string
VCS repository type
uri
string
uri of content file or git directory
usernameSecret object
Testkube internal reference for secret storage in Kubernetes secrets
key
string required
object key
name
string required
object name
namespace
string
object kubernetes namespace
workingDir
string
if provided we checkout the whole repository and run test from this directory
type
string
test type
enum:
string, file-uri, git-file, git-dir, git
uri
string
uri of test content
disableWebhooks
boolean
whether webhooks should be called on execution
duration
string
test duration
durationMs
integer
test duration in milliseconds
format:
int32
endTime
string
test end time
format:
date-time
envs
object
Environment variables passed to executor. Deprecated: use Basic Variables instead
executePostRunScriptBeforeScraping
boolean
execute post run script before scraping (prebuilt executor only)
executionNamespace
string
namespace for test execution (Pro edition only)
executionResult object
execution result returned from executor
errorMessage
string
error message when status is error, separate to output as output can be partial in case of error
reports object
junit
string
status
string required
enum:
queued, running, passed, failed, aborted, timeoutsteps []object
execution steps (for collection of requests)
assertionResults []object
errorMessage
string
name
string
status
string
duration
string
name
string required
step name
status
string required
execution step status
id
string
execution id
isVariablesFileUploaded
boolean
in case the variables file is too big, it will be uploaded to storage
labels
object
test and execution labels
name
string
execution name
number
integer
execution number
format:
int32
postRunScript
string
script to run after test execution
preRunScript
string
script to run before test execution
runningContext object
running context for test or test suite execution
context
string
Context value depending from its type
type
string required
One of possible context types
enum:
user-cli, user-ui, testsuite, testtrigger, scheduler, testexecution, testsuiteexecutionslavePodRequest object
pod request body
podTemplate
string
pod template extensions
podTemplateReference
string
name of the template resource
resources object
pod resources request specification
limits object
resource request specification
cpu
string
requested cpu units
memory
string
requested memory units
requests object
resource request specification
cpu
string
requested cpu units
memory
string
requested memory units
sourceScripts
boolean
run scripts using source command (container executor only)
startTime
string
test start time
format:
date-time
testExecutionName
string
test execution name started the test execution
testName
string
unique test name (CRD Test name)
testNamespace
string
test namespace
testSecretUUID
string
test secret uuid
testSuiteName
string
unique test suite name (CRD Test suite name), if it's run as a part of test suite
testSuiteSecretUUID
string
test suite secret uuid, if it's run as a part of test suite
testType
string
test type e.g. postman/collection
uploads
[]string
list of file paths that need to be copied into the test from uploads
variables
object
variablesFile
string
variables file content - need to be in format for particular executor (e.g. postman envs file)
step object
delay object
duration
integer required
delay duration in milliseconds
format:
int32execute object
name
string required
object name
namespace
string
object kubernetes namespace
stopTestOnFailure
boolean required
test object
name
string required
object name
namespace
string
object kubernetes namespace
testSuite object required
name
string required
object name
namespace
string
object kubernetes namespace
testSuiteExecutionName
string
test suite execution name started the test suite execution
variables
object
No matches. Try .spec.executionRequest for an exact path