getUserActivity {RSauceLabs}R Documentation

Get User Activity

Description

Get currently running job counts broken down by account and job status.

Usage

getUserActivity(account, username = Sys.getenv("SLUSER"), ...)

Arguments

account

An object of class "account". An account object see account.

username

SauceLabs username

...

Additonal function arguments - Currently unused.

See Also

Other actUsageMethods: getRealTimeJobActivity, getUserAccountUsage

Examples

## Not run: 
myAcc <- account()
jobActivity <- getRealTimeJobActivity(myAcc)
#> jobActivity$concurrency$self$allowed
#$manual
#[1] 5
#
#$mac
#[1] 5
#
#$overall
#[1] 5
#
#$real_device
#[1] 0
userActivity <- getUserActivity(myAcc)
#> userActivity$subaccounts$rsaucelabs
#$`in progress`
#[1] 0
#
#$all
#[1] 0
#
#$queued
#[1] 0
userAccUsage <- getUserAccountUsage(myAcc)
#> userAccUsage
#user_name      date no_of_jobs vm_minutes
#1: seleniumPipes 2016-8-12          2        239
#2: seleniumPipes 2016-8-13         65       6399
#3: seleniumPipes 2016-8-15         36       7235
#4: seleniumPipes 2016-8-16          7       1101

## End(Not run)

[Package RSauceLabs version 0.1.6 Index]