de.oio.bugkilla.player
Class Player

java.lang.Object
  |
  +--de.oio.bugkilla.player.Player

public class Player
extends java.lang.Object

Player resolve the request for the TestStepBean and gets the proxy-configuration from PlayerConfig.

Author:
aspall
See Also:
JTestStep, PlayerConfig, WebTestSuite

Constructor Summary
Player()
           
 
Method Summary
 void endWebConversation()
          terminate the existing WebConversation
 HttpResponse send(HttpRequest requestSpec)
          build new httpunit-request use the Webconversation to get an new response (build a HttpResponse out of it)
 boolean shouldStopScenario()
          Returns true if the current JScenario/JTestSequence has to stop
 void startNewScenario()
          set the fStopScenario-boolean to false
 void startWebConversation()
          init new WebConversation
 void stopScenario()
          set the fStopScenario-boolean to true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Player

public Player()
Method Detail

send

public HttpResponse send(HttpRequest requestSpec)
build new httpunit-request use the Webconversation to get an new response (build a HttpResponse out of it)

Parameters:
requestSpec - HttpRequest with the specified Request-Params
Returns:
responseRes HttpResponse with the Response-Context

startWebConversation

public void startWebConversation()
init new WebConversation


endWebConversation

public void endWebConversation()
terminate the existing WebConversation


shouldStopScenario

public boolean shouldStopScenario()
Returns true if the current JScenario/JTestSequence has to stop

Returns:
fStopScenario if true the current JScenario/JTestSequence has to stop

startNewScenario

public void startNewScenario()
set the fStopScenario-boolean to false


stopScenario

public void stopScenario()
set the fStopScenario-boolean to true



Copyright © Orientation in Objects GmbH. All Rights Reserved.