Groovy Documentation

de.matrixweb.harhar.junit
[Groovy] Annotation Type Har

java.lang.Object
  de.matrixweb.harhar.junit.Har

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@interface Har

Authors:
marwol


Method Summary
boolean debug()

Returns:
Returns true to enabled debug output.

int repetitions()

Returns:
Returns the number of repetitions the HAR file should be executed.

int users()

Returns:
Returns the number of users to simulate concurrently.

String value()

Returns:
Returns the resource location of the HAR file to execute.

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

debug

boolean debug()
Default:
false
Returns:
Returns true to enabled debug output. Defaults to false


repetitions

int repetitions()
Default:
1
Returns:
Returns the number of repetitions the HAR file should be executed. Defaults to 1


users

int users()
Default:
1
Returns:
Returns the number of users to simulate concurrently. Defaults to 1


value

String value()
Returns:
Returns the resource location of the HAR file to execute. Currently this could be a url with either classpath:path/to/har or file:path/to/har


 

Groovy Documentation