Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.79 KB

File metadata and controls

35 lines (26 loc) · 1.79 KB

SpecificObjective

Properties

Name Type Description Notes
max_pending_simulated_users str Only applies if Type is SimulatedUsers. The maximum number or percentage of users that can be in the pending state (not yet connected and sending traffic) at any time. You can either specify a number or a percentage using the % sign.
max_simulated_users_per_interval int Only applies if Type is SimulatedUsers. The maximum number of simulated users at which new users are initiated and teardown per interval(1 second). Default value is 0 (no limit) [optional]
timeline List[TimelineSegmentUnion] The timeline of this objective. [optional]
type ObjectiveType The objective's type (default: Throughput).
unit ObjectiveUnit The objective's unit. Must be one of: bps or ''.
id str
links List[APILink] [optional]

Example

from cyperf.models.specific_objective import SpecificObjective

# TODO update the JSON string below
json = "{}"
# create an instance of SpecificObjective from a JSON string
specific_objective_instance = SpecificObjective.from_json(json)
# print the JSON string representation of the object
print(SpecificObjective.to_json())

# convert the object into a dict
specific_objective_dict = specific_objective_instance.to_dict()
# create an instance of SpecificObjective from a dict
specific_objective_from_dict = SpecificObjective.from_dict(specific_objective_dict)

[Back to Model list] [Back to API list] [Back to README]