 | CSYSRunMultiUserScript Method |
Execute a script using multithreaded users
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void RunMultiUserScript(
CGXNETCore gxNetShared,
string script,
int users,
int iterations,
int wait_min_time,
int wait_max_time,
int ramp_up_time
)
public static void RunMultiUserScript(
CGXNETCore gxNetShared,
string script,
int users,
int iterations,
int wait_min_time,
int wait_max_time,
int ramp_up_time
)
Public Shared Sub RunMultiUserScript (
gxNetShared As CGXNETCore,
script As String,
users As Integer,
iterations As Integer,
wait_min_time As Integer,
wait_max_time As Integer,
ramp_up_time As Integer
)
Public Shared Sub RunMultiUserScript (
gxNetShared As CGXNETCore,
script As String,
users As Integer,
iterations As Integer,
wait_min_time As Integer,
wait_max_time As Integer,
ramp_up_time As Integer
)
public:
static void RunMultiUserScript(
CGXNETCore^ gxNetShared,
String^ script,
int users,
int iterations,
int wait_min_time,
int wait_max_time,
int ramp_up_time
)
public:
static void RunMultiUserScript(
CGXNETCore^ gxNetShared,
String^ script,
int users,
int iterations,
int wait_min_time,
int wait_max_time,
int ramp_up_time
)
static member RunMultiUserScript :
gxNetShared : CGXNETCore *
script : string *
users : int *
iterations : int *
wait_min_time : int *
wait_max_time : int *
ramp_up_time : int -> unit
static member RunMultiUserScript :
gxNetShared : CGXNETCore *
script : string *
users : int *
iterations : int *
wait_min_time : int *
wait_max_time : int *
ramp_up_time : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - script
- Type: SystemString
Script to run - users
- Type: SystemInt32
Number of users to run - iterations
- Type: SystemInt32
Number of iterations to run (for each user) - wait_min_time
- Type: SystemInt32
Minimum wait time between iterations (0 for none) - wait_max_time
- Type: SystemInt32
Maximum wait time between iterations (0 for none) - ramp_up_time
- Type: SystemInt32
Ramp up time for users (0 for all users start immediatly)
Remarks
No access is provided in the script to EMAPS
or EDBS. Users must ensure that the resources
that are shared are protected.
See Also