-
Users Handbook
-
-
-
- Intro & Basics
- All Objects have Descriptions
- Check for unused procedures
- Compiled Procedures up to date
- Invalid Source Layers
- Required Columns
- Check for abnormally ended Jobs
- Check for blocked Jobs
- Check for disabled Tasks
- Check for duplicate tasks in different Jobs
- Check for duplicate tasks in same Job
-
-
-
Administrators Handbook
-
- Register URL
- Configure SSL/HTTPS
- Configure Proxy-Server
- How to edit the appsettings.json file
- System Settings
- Global Parameters
- Allow Service Account to Logon as a Service
- LDAP & SSO Authentication
- Migrating Testcases and Configuration
- Licenses Management
- Manual Configuration
- Exposing the BiG EVAL REST API to other Network Segments
-
- Articles coming soon
-
Developers Handbook
-
Known Problems
-
Demo Virtual Machine
-
Release Notes
-
General
Gets information about a job.
Get-BeJob -Connection <Connection> -JobId <String>
Description
The Get-BeJob
cmdlet queries a job for its current status and some more information.
You may use this command to poll a job until it completes.
Example
The following example shows how to run a test suite, return its job ID and query the job for information.
$suiteId = 1 # Start suite Write-Host -NoNewline "Starting suite run... " $startSuiteResult = Start-BeSuiteRun -Connection $connection -SuiteId $suiteId $jobId = $startSuiteResult.jobId Write-Host "Done (Job-ID: $jobId)" $jobInfo = Get-BeJob -Connection $connection -JobId $jobId Write-Host "JobId: $jobInfo.JobId" Write-Host "Status: $jobInfo.Status" Write-Host "Message: $jobInfo.Message"
Parameters
-Connection
Pass the connection-object returned by the Connect-BeInstance cmdlet.
Type: | Connection |
Mandatory: | Yes |
Position: | Named |
Default Value: | None |
-JobId
The ID of the job.
Type: | String |
Mandatory: | Yes |
Position: | Named |
Default Value: | None |
Output
The cmdlet outputs a Job-object that contains the following attributes.
Name | Data Type | Description |
---|---|---|
JobId | String | The ID of the job. |
Status | String | The current status of the job. This can be one of the following values: – New – Queued – Running – Succeeded – Failed – Canceled |
Message | String | Depending on the outcome of the job, there may be a message like an error message. This attribute can also be empty. |
Table of Contents