Package one.microproject.testmeter
Class ITTestUtils
- java.lang.Object
-
- one.microproject.testmeter.ITTestUtils
-
public class ITTestUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIAM_ADMIN_PASSWORD_PROPERTYstatic java.lang.StringIAM_CLIENT_SECRET_PROPERTYstatic intIAM_SERVER_PORTstatic java.lang.StringIAM_SERVICE_PROPERTY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.URLgetDefaultIamServerURL()static java.lang.StringgetGlobalAdminClientSecret()static java.lang.StringgetGlobalAdminPassword()static java.net.URLgetIAMServiceURL()static java.lang.FloatscenariosPerSecond(long count, long duration)static java.lang.FloatsuccessRatePercent(long total, long success)
-
-
-
Field Detail
-
IAM_SERVER_PORT
public static final int IAM_SERVER_PORT
- See Also:
- Constant Field Values
-
IAM_SERVICE_PROPERTY
public static final java.lang.String IAM_SERVICE_PROPERTY
- See Also:
- Constant Field Values
-
IAM_ADMIN_PASSWORD_PROPERTY
public static final java.lang.String IAM_ADMIN_PASSWORD_PROPERTY
- See Also:
- Constant Field Values
-
IAM_CLIENT_SECRET_PROPERTY
public static final java.lang.String IAM_CLIENT_SECRET_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultIamServerURL
public static java.net.URL getDefaultIamServerURL() throws java.net.MalformedURLException- Throws:
java.net.MalformedURLException
-
getGlobalAdminPassword
public static java.lang.String getGlobalAdminPassword()
-
getGlobalAdminClientSecret
public static java.lang.String getGlobalAdminClientSecret()
-
getIAMServiceURL
public static java.net.URL getIAMServiceURL() throws java.net.MalformedURLException- Throws:
java.net.MalformedURLException
-
scenariosPerSecond
public static java.lang.Float scenariosPerSecond(long count, long duration)
-
successRatePercent
public static java.lang.Float successRatePercent(long total, long success)
-
-