-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
What's new on this minor release - Wait for disconnect support. - Now is possible to assert when a server disconnection occurs. > E.g: Makes possible to validate the behave of a LOGOFF command. - Automatic *Wait for Disconnect* recognition. - When using the **Recorder** the **Terminal Emulator** will automatically detect for a server disconnection. Therefore a Wait for Disconnect is recorded and added to the current sampler. - We have also fixed some issues: - Frozen screen when recording TN3270 protocol. - Not possible to send spaces as input.
- Loading branch information
Showing
51 changed files
with
998 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/main/java/com/blazemeter/jmeter/rte/core/ServerDisconnectHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.blazemeter.jmeter.rte.core; | ||
|
||
import com.blazemeter.jmeter.rte.core.listener.ExceptionHandler; | ||
|
||
public abstract class ServerDisconnectHandler { | ||
|
||
protected boolean isExpectedDisconnection; | ||
|
||
protected ServerDisconnectHandler(boolean isExpectedDisconnection) { | ||
this.isExpectedDisconnection = isExpectedDisconnection; | ||
} | ||
|
||
public boolean isExpectedDisconnection() { | ||
return this.isExpectedDisconnection; | ||
} | ||
|
||
public abstract void onDisconnection(ExceptionHandler handler); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/java/com/blazemeter/jmeter/rte/core/wait/DisconnectWaitCondition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.blazemeter.jmeter.rte.core.wait; | ||
|
||
public class DisconnectWaitCondition extends WaitCondition { | ||
|
||
public DisconnectWaitCondition(long timeoutMillis) { | ||
super(timeoutMillis, 0); | ||
} | ||
|
||
@Override | ||
public String getDescription() { | ||
return "server to be disconnected"; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "DisconnectWaitCondition{" + | ||
"timeoutMillis=" + timeoutMillis + | ||
'}'; | ||
} | ||
} |
Oops, something went wrong.