# Here I will scpecify the  http transactions and the parameters
# for the benchmark.
#
# I know this kinda is dirty. I started using XML but I just don't
# have the time for the "right solution" now.
#
# So, this is just a prototype. If this turns out to be useful,
# I'll code the XML thing.


url static "http://192.168.0.30"
url jspmain "http://192.168.0.30:8080/laos/index.jsp"

req emptyreq "{}"
req loginreq "{'login':'1', 'nombreUsuario':'arhuaco', 'claveUsuario':'7128'}"

#after a play, we specify the interaction. We can have many "play" sections.
play homepage
  url static
  get emptyreq

play gethome
  url jspmain
  get emptyreq
 
play login
  url jspmain
  post loginreq

test "Simple Static Page - 1 request per thread" threads:"[1,2,3,5,10,15,20,30,50,100,200,300,500]" nrequests:1 playing:"['homepage']"
test "Pi Login - 1 request per thread" threads:"[1,2,3,5,7,10,15,20,30,40,50]" nrequests:1 playing:"['gethome']"
