scenario and state (mapping json model)

This commit is contained in:
Stef Heyenrath
2017-10-07 14:44:01 +02:00
parent 5424b1e2e2
commit 8386d93e0d
5 changed files with 76 additions and 14 deletions

View File

@@ -31,6 +31,22 @@ namespace WireMock.Admin.Mappings
/// </value>
public int? Priority { get; set; }
/// <summary>
/// Scenario.
/// </summary>
public string Scenario { get; set; }
/// <summary>
/// Execution state condition for the current mapping.
/// </summary>
public object WhenStateIs { get; set; }
/// <summary>
/// The next state which will be signaled after the current mapping execution.
/// In case the value is null state will not be changed.
/// </summary>
public object SetStateTo { get; set; }
/// <summary>
/// Gets or sets the request.
/// </summary>