Modificaciones en los features activity y export/import

This commit is contained in:
Wendy Nestor
2014-05-15 16:40:28 -04:00
parent ace57153b5
commit 53186d1351
2 changed files with 246 additions and 219 deletions

View File

@@ -18,7 +18,6 @@ Scenario Outline: Create a new case (Negative Test)
Then the response status code should be <error_code> Then the response status code should be <error_code>
And the response status message should have the following text "<error_message>" And the response status message should have the following text "<error_message>"
Examples: Examples:
| Description | pro_uid | tas_uid | error_code | error_message | | Description | pro_uid | tas_uid | error_code | error_message |
| Create new case with pro_uid wrong | 99209594750ec1111111927000421575 | 68707275350ec281ada1c95068712556 | 400 | pro_uid | | Create new case with pro_uid wrong | 99209594750ec1111111927000421575 | 68707275350ec281ada1c95068712556 | 400 | pro_uid |
@@ -28,8 +27,6 @@ Scenario Outline: Create a new case (Negative Test)
| Create new case whith pro_uid and tas_uid wrong | 8245849601111111181ecc7039804404 | 5690001111111118e4a9243080698854 | 400 | pro_uid | | Create new case whith pro_uid and tas_uid wrong | 8245849601111111181ecc7039804404 | 5690001111111118e4a9243080698854 | 400 | pro_uid |
Scenario Outline: Create a new case Impersonate (Negative Test) Scenario Outline: Create a new case Impersonate (Negative Test)
Given POST this data: Given POST this data:
""" """
@@ -119,8 +116,9 @@ Scenario Outline: Create a case, derivate and cancel. then try do pause or route
And the response status message should have the following text "<error_message_pause>" And the response status message should have the following text "<error_message_pause>"
Examples: Examples:
| Description | case_number | pro_uid | tas_uid | error_message_route | error_message_pause | | Description | case_number | pro_uid | tas_uid | error_message_route | error_message_pause |
| Create new case with process "Derivation rules - sequential" | 1 | 99209594750ec27ea338927000421575 | 68707275350ec281ada1c95068712556 | This case delegation is already closed | This case delegation is already closed | | Create new case with process "Derivation rules - sequential" | 1 | 99209594750ec27ea338927000421575 | 68707275350ec281ada1c95068712556 | This case delegation is already closed | canceled |
#Delete case #Delete case

View File

@@ -5,7 +5,6 @@ Feature: Activity Resources Main Tests
the process name is "Test Activity" the process name is "Test Activity"
there are three Activity Resources in the process there are three Activity Resources in the process
Background: Background:
Given that I have a valid access_token Given that I have a valid access_token
@@ -58,195 +57,225 @@ Scenario Outline: Get the Definition of a Activity are exactly three activity
| 24689389453502b73597aa5052425148 | Task 3 | | 24689389453502b73597aa5052425148 | Task 3 |
Scenario Outline: Get a activity (Verification of initial values) Scenario: Get a activity (Verification of initial values) "Task1"
Given I request "project/59534741653502b6d1820d6012095837/activity/<activity>" Given I request "project/59534741653502b6d1820d6012095837/activity/28629650453502b70b7f3a8051740006"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "object" And the type is "object"
And the property "tas_type" of "properties" is set to "<tas_type>" And the property "tas_type" of "properties" is set to "NORMAL"
And the property "tas_duration" of "properties" is set to "<tas_duration>" And the property "tas_duration" of "properties" is set to "1"
And the property "tas_type_day" of "properties" is set to "<tas_type_day>" And the property "tas_type_day" of "properties" is set to ""
And the property "tas_timeunit" of "properties" is set to "<tas_timeunit>" And the property "tas_timeunit" of "properties" is set to "DAYS"
And the property "tas_priority_variable" of "properties" is set to "<tas_priority_variable>" And the property "tas_priority_variable" of "properties" is set to ""
And the property "tas_assign_type" of "properties" is set to "<tas_assign_type>" And the property "tas_assign_type" of "properties" is set to "BALANCED"
And the property "tas_assign_variable" of "properties" is set to "<tas_assign_variable>" And the property "tas_assign_variable" of "properties" is set to "@@SYS_NEXT_USER_TO_BE_ASSIGNED"
And the property "tas_transfer_fly" of "properties" is set to "<tas_transfer_fly>" And the property "tas_group_variable" of "properties" is set to ""
And the property "tas_send_last_email" of "properties" is set to "<tas_send_last_email>" And the property "tas_transfer_fly" of "properties" is set to "FALSE"
And the property "tas_derivation_screen_tpl" of "properties" is set to "<tas_derivation_screen_tpl>" And the property "tas_derivation_screen_tpl" of "properties" is set to ""
And the property "tas_selfservice_timeout" of "properties" is set to "<tas_selfservice_timeout>" And the property "tas_selfservice_timeout" of "properties" is set to "0"
And the property "tas_selfservice_time" of "properties" is set to "<tas_selfservice_time>" And the property "tas_selfservice_time" of "properties" is set to ""
And the property "tas_selfservice_time_unit" of "properties" is set to "<tas_selfservice_time_unit>" And the property "tas_selfservice_time_unit" of "properties" is set to ""
And the property "tas_selfservice_trigger_uid" of "properties" is set to "<tas_selfservice_trigger_uid>" And the property "tas_selfservice_trigger_uid" of "properties" is set to ""
And the property "tas_title" of "properties" is set to "<tas_title>" And the property "tas_title" of "properties" is set to "Task 1"
And the property "tas_description" of "properties" is set to "<tas_description>" And the property "tas_description" of "properties" is set to ""
And the property "tas_def_title" of "properties" is set to "<tas_def_title>" And the property "tas_def_title" of "properties" is set to ""
And the property "tas_def_description" of "properties" is set to "<tas_def_description>" And the property "tas_def_description" of "properties" is set to ""
And the property "tas_def_message" of "properties" is set to "<tas_def_message>" And the property "tas_calendar" of "properties" is set to ""
And the property "tas_def_subject_message" of "properties" is set to "<tas_def_subject_message>" And the property "tas_def_message_type" of "properties" is set to "text"
And the property "tas_calendar" of "properties" is set to "<tas_calendar>" And the property "tas_def_message_template" of "properties" is set to "alert_message.html"
And the property "tas_def_message_type" of "properties" is set to "<tas_def_message_type>"
And the property "tas_def_message_template" of "properties" is set to "<tas_def_message_template>"
Examples:
| activity | tas_type | tas_duration | tas_type_day | tas_timeunit | tas_priority_variable | tas_assign_type | tas_assign_variable | tas_transfer_fly | tas_send_last_email | tas_derivation_screen_tpl | tas_selfservice_timeout | tas_selfservice_time | tas_selfservice_time_unit | tas_selfservice_trigger_uid | tas_title | tas_description | tas_def_title | tas_def_description | tas_def_message | tas_def_subject_message | tas_calendar | tas_def_message_type | tas_def_message_template |
| 28629650453502b70b7f3a8051740006 | NORMAL | 1 | | DAYS | | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | FALSE | | 0 | | | | Task 1 | | | | | | | text | alert_message.html |
| 52976670353502b71e2b0a8036043148 | NORMAL | 1 | | DAYS | | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | FALSE | | 0 | | | | Task 2 | | | | | | | text | alert_message.html |
| 24689389453502b73597aa5052425148 | NORMAL | 1 | | DAYS | | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | FALSE | | 0 | | | | Task 3 | | | | | | | text | alert_message.html |
Scenario Outline: Update the Definition of a Activity and the check if the values had changed Scenario: Get a activity (Verification of initial values) "Task2"
Given I request "project/59534741653502b6d1820d6012095837/activity/52976670353502b71e2b0a8036043148"
Then the response status code should be 200
And the response charset is "UTF-8"
And the type is "object"
And the property "tas_type" of "properties" is set to "NORMAL"
And the property "tas_duration" of "properties" is set to "1"
And the property "tas_type_day" of "properties" is set to ""
And the property "tas_timeunit" of "properties" is set to "DAYS"
And the property "tas_priority_variable" of "properties" is set to ""
And the property "tas_assign_type" of "properties" is set to "BALANCED"
And the property "tas_assign_variable" of "properties" is set to "@@SYS_NEXT_USER_TO_BE_ASSIGNED"
And the property "tas_transfer_fly" of "properties" is set to "FALSE"
And the property "tas_derivation_screen_tpl" of "properties" is set to ""
And the property "tas_selfservice_timeout" of "properties" is set to "0"
And the property "tas_selfservice_time" of "properties" is set to ""
And the property "tas_selfservice_time_unit" of "properties" is set to ""
And the property "tas_selfservice_trigger_uid" of "properties" is set to ""
And the property "tas_title" of "properties" is set to "Task 2"
And the property "tas_description" of "properties" is set to ""
And the property "tas_def_title" of "properties" is set to ""
And the property "tas_def_description" of "properties" is set to ""
And the property "tas_calendar" of "properties" is set to ""
And the property "tas_def_message_type" of "properties" is set to "text"
And the property "tas_def_message_template" of "properties" is set to "alert_message.html"
Scenario: Get a activity (Verification of initial values) "Task3"
Given I request "project/59534741653502b6d1820d6012095837/activity/24689389453502b73597aa5052425148"
Then the response status code should be 200
And the response charset is "UTF-8"
And the type is "object"
And the property "tas_type" of "properties" is set to "NORMAL"
And the property "tas_duration" of "properties" is set to "1"
And the property "tas_type_day" of "properties" is set to ""
And the property "tas_timeunit" of "properties" is set to "DAYS"
And the property "tas_priority_variable" of "properties" is set to ""
And the property "tas_assign_type" of "properties" is set to "BALANCED"
And the property "tas_assign_variable" of "properties" is set to "@@SYS_NEXT_USER_TO_BE_ASSIGNED"
And the property "tas_transfer_fly" of "properties" is set to "FALSE"
And the property "tas_derivation_screen_tpl" of "properties" is set to ""
And the property "tas_selfservice_timeout" of "properties" is set to "0"
And the property "tas_selfservice_time" of "properties" is set to ""
And the property "tas_selfservice_time_unit" of "properties" is set to ""
And the property "tas_selfservice_trigger_uid" of "properties" is set to ""
And the property "tas_title" of "properties" is set to "Task 3"
And the property "tas_description" of "properties" is set to ""
And the property "tas_def_title" of "properties" is set to ""
And the property "tas_def_description" of "properties" is set to ""
And the property "tas_calendar" of "properties" is set to ""
And the property "tas_def_message_type" of "properties" is set to "text"
And the property "tas_def_message_template" of "properties" is set to "alert_message.html"
Scenario: Update the Definition of a Activity "Task1" and the check if the values had changed
Given PUT this data: Given PUT this data:
""" """
{ {
"definition": {}, "definition": {},
"properties": "properties":
{ {
"tas_type": "<tas_type>", "tas_type": "ADHOC",
"tas_duration": "<tas_duration>", "tas_duration": 2,
"tas_timeunit": "<tas_timeunit>", "tas_type_day": "DAYS",
"tas_priority_variable": "<tas_priority_variable>", "tas_timeunit": "DAYS",
"tas_assign_type": "<tas_assign_type>", "tas_priority_variable": "@@PROCESS",
"tas_assign_variable": "<tas_assign_variable>", "tas_assign_type": "BALANCED",
"tas_transfer_fly": "<tas_transfer_fly>", "tas_assign_variable": "@@USER_LOGGED",
"tas_derivation_screen_tpl": "<tas_derivation_screen_tpl>", "tas_group_variable": "@@USER_LOGGED",
"tas_selfservice_time_unit": "<tas_selfservice_time_unit>", "tas_transfer_fly": "TRUE",
"tas_selfservice_timeout": "<tas_selfservice_timeout>", "tas_send_last_email": "TRUE",
"tas_selfservice_trigger_uid": "<tas_selfservice_trigger_uid>", "tas_derivation_screen_tpl": "test activity.html",
"tas_title": "<tas_title>", "tas_selfservice_timeout": 1,
"tas_description": "<tas_description>", "tas_selfservice_time": 1,
"tas_def_title": "<tas_def_title>", "tas_selfservice_time_unit": "HOURS",
"tas_def_description": "<tas_def_description>", "tas_selfservice_trigger_uid": "",
"tas_def_message": "<tas_def_message>", "tas_title": "Task 1 Update Activity",
"tas_def_subject_message": "<tas_def_subject_message>", "tas_description": "Update Description",
"tas_calendar": "<tas_calendar>", "tas_def_title": "Case Title",
"tas_def_message_type": "<tas_def_message_type>", "tas_def_description": "Case Description UPDATE",
"tas_def_message_template": "<tas_def_message_template>" "tas_def_message": "Esta es una Notificacion - UPDATE ",
"tas_def_subject_message": "UPDATE Titulo de Notificacion 1",
"tas_calendar": "14606161052f50839307899033145440",
"tas_def_message_type": "text",
"tas_def_message_template": "test activity.html"
} }
} }
""" """
And I request "project/59534741653502b6d1820d6012095837/activity/<activity>" And I request "project/59534741653502b6d1820d6012095837/activity/28629650453502b70b7f3a8051740006"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "object" And the type is "object"
Examples:
| test_description | activity | tas_type | tas_duration | tas_timeunit | tas_priority_variable | tas_assign_type | tas_assign_variable | tas_transfer_fly | tas_derivation_screen_tpl | tas_selfservice_time_unit | tas_selfservice_timeout | tas_selfservice_trigger_uid | tas_title | tas_description | tas_def_title | tas_def_description | tas_def_message | tas_def_subject_message | tas_calendar | tas_def_message_type | tas_def_message_template |
| Update Task1 | 28629650453502b70b7f3a8051740006 | ADHOC | 2 | DAYS | @@PROCESS | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | test activity.html | HOURS | 1 | | Task 1 Update Activity | Update Description | Case Title | Case Description UPDATE | Esta es una Notificacion - UPDATE | UPDATE Titulo de Notificacion 1 | 14606161052f50839307899033145440 | text | test activity.html |
| Update Task2 | 52976670353502b71e2b0a8036043148 | NORMAL | 3 | HOURS | @@PROCESS | BALANCED | @@USER_LOGGED | TRUE | test activity.html | HOURS | 1 | | Task 2 Update Activity | Update Description | Case Title | Case Description UPDATE | Esta es una Notificacion - UPDATE | UPDATE Titulo de Notificacion 1 | 14606161052f50839307899033145440 | text | test activity.html |
| Update Task3 | 24689389453502b73597aa5052425148 | NORMAL | 2 | HOURS | @@PROCESS | BALANCED | @@USER_LOGGED | FALSE | test activity.html | HOURS | 1 | | Task 3 Update Activity | Update Description | Case Title | Case Description UPDATE | Esta es una Notificacion - UPDATE | UPDATE Titulo de Notificacion 1 | 14606161052f50839307899033145440 | text | test activity.html |
Scenario Outline: Get a activity (Review of variables after the update) Scenario: Get a activity (Review of variables after the update) Task1
Given I request "project/59534741653502b6d1820d6012095837/activity/<activity>" Given I request "project/59534741653502b6d1820d6012095837/activity/28629650453502b70b7f3a8051740006"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "object" And the type is "object"
And the property "tas_type" of "properties" is set to "<tas_type>" And the property "tas_type" of "properties" is set to "ADHOC"
And the property "tas_duration" of "properties" is set to "<tas_duration>" And the property "tas_duration" of "properties" is set to 2
And the property "tas_timeunit" of "properties" is set to "<tas_timeunit>" And the property "tas_type_day" of "properties" is set to "DAYS"
And the property "tas_priority_variable" of "properties" is set to "<tas_priority_variable>" And the property "tas_timeunit" of "properties" is set to "DAYS"
And the property "tas_assign_type" of "properties" is set to "<tas_assign_type>" And the property "tas_priority_variable" of "properties" is set to "@@PROCESS"
And the property "tas_assign_variable" of "properties" is set to "<tas_assign_variable>" And the property "tas_assign_type" of "properties" is set to "BALANCED"
And the property "tas_transfer_fly" of "properties" is set to "<tas_transfer_fly>" And the property "tas_assign_variable" of "properties" is set to "@@USER_LOGGED"
And the property "tas_derivation_screen_tpl" of "properties" is set to "<tas_derivation_screen_tpl>" And the property "tas_group_variable" of "properties" is set to "@@USER_LOGGED"
And the property "tas_selfservice_time_unit" of "properties" is set to "<tas_selfservice_time_unit>" And the property "tas_transfer_fly" of "properties" is set to "TRUE"
And the property "tas_selfservice_timeout" of "properties" is set to "<tas_selfservice_timeout>" And the property "tas_send_last_email" of "properties" is set to "TRUE"
And the property "tas_selfservice_trigger_uid" of "properties" is set to "<tas_selfservice_trigger_uid>" And the property "tas_derivation_screen_tpl" of "properties" is set to "test activity.html"
And the property "tas_title" of "properties" is set to "<tas_title>" And the property "tas_selfservice_timeout" of "properties" is set to 1
And the property "tas_description" of "properties" is set to "<tas_description>" And the property "tas_selfservice_time" of "properties" is set to 1
And the property "tas_def_title" of "properties" is set to "<tas_def_title>" And the property "tas_selfservice_time_unit" of "properties" is set to "HOURS"
And the property "tas_def_description" of "properties" is set to "<tas_def_description>" And the property "tas_selfservice_trigger_uid" of "properties" is set to ""
And the property "tas_def_message" of "properties" is set to "<tas_def_message>" And the property "tas_title" of "properties" is set to "Task 1 Update Activity"
And the property "tas_def_subject_message" of "properties" is set to "<tas_def_subject_message>" And the property "tas_description" of "properties" is set to "Update Description"
And the property "tas_calendar" of "properties" is set to "<tas_calendar>" And the property "tas_def_title" of "properties" is set to "Case Title"
And the property "tas_def_message_type" of "properties" is set to "<tas_def_message_type>" And the property "tas_def_description" of "properties" is set to "Case Description UPDATE"
And the property "tas_def_message_template" of "properties" is set to "<tas_def_message_template>" And the property "tas_def_message" of "properties" is set to "Esta es una Notificacion - UPDATE"
And the property "tas_def_subject_message" of "properties" is set to "UPDATE Titulo de Notificacion 1"
Examples: And the property "tas_calendar" of "properties" is set to "14606161052f50839307899033145440"
And the property "tas_def_message_type" of "properties" is set to "text"
| activity | tas_type | tas_duration | tas_timeunit | tas_priority_variable | tas_assign_type | tas_assign_variable | tas_transfer_fly | tas_derivation_screen_tpl | tas_selfservice_time_unit | tas_selfservice_timeout | tas_selfservice_trigger_uid | tas_title | tas_description | tas_def_title | tas_def_description | tas_def_message | tas_def_subject_message | tas_calendar | tas_def_message_type | tas_def_message_template | And the property "tas_def_message_template" of "properties" is set to "test activity.html"
| 28629650453502b70b7f3a8051740006 | ADHOC | 2 | DAYS | @@PROCESS | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | test activity.html | HOURS | 1 | | Task 1 Update Activity | Update Description | Case Title | Case Description UPDATE | Esta es una Notificacion - UPDATE | UPDATE Titulo de Notificacion 1 | 14606161052f50839307899033145440 | text | test activity.html |
| 52976670353502b71e2b0a8036043148 | NORMAL | 3 | HOURS | @@PROCESS | BALANCED | @@USER_LOGGED | TRUE | test activity.html | HOURS | 1 | | Task 2 Update Activity | Update Description | Case Title | Case Description UPDATE | Esta es una Notificacion - UPDATE | UPDATE Titulo de Notificacion 1 | 14606161052f50839307899033145440 | text | test activity.html |
| 24689389453502b73597aa5052425148 | NORMAL | 2 | HOURS | @@PROCESS | BALANCED | @@USER_LOGGED | FALSE | test activity.html | HOURS | 1 | | Task 3 Update Activity | Update Description | Case Title | Case Description UPDATE | Esta es una Notificacion - UPDATE | UPDATE Titulo de Notificacion 1 | 14606161052f50839307899033145440 | text | test activity.html |
Scenario Outline: Update the Definition of a Activity to return to baseline Scenario: Update the Definition of a Activity to return to baseline of the task1
Given PUT this data: Given PUT this data:
""" """
{ {
"definition": {}, "definition": {},
"properties": "properties":
{ {
"tas_type": "<tas_type>", "tas_type": "NORMAL",
"tas_duration": "<tas_duration>", "tas_duration": 1,
"tas_timeunit": "<tas_timeunit>", "tas_type_day": "",
"tas_priority_variable": "<tas_priority_variable>", "tas_timeunit": "DAYS",
"tas_assign_type": "<tas_assign_type>", "tas_priority_variable": "",
"tas_assign_variable": "<tas_assign_variable>", "tas_assign_type": "BALANCED",
"tas_transfer_fly": "<tas_transfer_fly>", "tas_assign_variable": "@@SYS_NEXT_USER_TO_BE_ASSIGNED",
"tas_derivation_screen_tpl": "<tas_derivation_screen_tpl>", "tas_group_variable": "",
"tas_selfservice_time_unit": "<tas_selfservice_time_unit>", "tas_transfer_fly": "FALSE",
"tas_selfservice_timeout": "<tas_selfservice_timeout>", "tas_send_last_email": "FALSE",
"tas_selfservice_trigger_uid": "<tas_selfservice_trigger_uid>", "tas_derivation_screen_tpl": "",
"tas_title": "<tas_title>", "tas_selfservice_timeout": 0,
"tas_description": "<tas_description>", "tas_selfservice_time": "",
"tas_def_title": "<tas_def_title>", "tas_selfservice_time_unit": "",
"tas_def_description": "<tas_def_description>", "tas_selfservice_trigger_uid": "",
"tas_def_message": "<tas_def_message>", "tas_title": "Task 1",
"tas_def_subject_message": "<tas_def_subject_message>", "tas_description": "",
"tas_calendar": "<tas_calendar>", "tas_def_title": "",
"tas_def_message_type": "<tas_def_message_type>", "tas_def_description": "",
"tas_def_message_template": "<tas_def_message_template>" "tas_def_message": "",
"tas_def_subject_message": "",
"tas_calendar": "",
"tas_def_message_type": "text",
"tas_def_message_template": "alert_message.html"
} }
} }
""" """
And I request "project/59534741653502b6d1820d6012095837/activity/<activity>" And I request "project/59534741653502b6d1820d6012095837/activity/28629650453502b70b7f3a8051740006"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "object" And the type is "object"
Examples:
| activity | tas_type | tas_duration | tas_timeunit | tas_priority_variable | tas_assign_type | tas_assign_variable | tas_transfer_fly | tas_derivation_screen_tpl | tas_selfservice_timeout | tas_selfservice_time | tas_selfservice_time_unit | tas_selfservice_trigger_uid | tas_title | tas_description | tas_def_title | tas_def_description | tas_def_message | tas_def_subject_message | tas_calendar | tas_def_message_type | tas_def_message_template | Scenario: Get a activity (Verification of initial values) Task1
| 28629650453502b70b7f3a8051740006 | NORMAL | 1 | DAYS | | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | | 0 | | | | Task 1 | | | | | | | text | alert_message.html | Given I request "project/59534741653502b6d1820d6012095837/activity/28629650453502b70b7f3a8051740006"
| 52976670353502b71e2b0a8036043148 | NORMAL | 1 | DAYS | | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | | 0 | | | | Task 2 | | | | | | | text | alert_message.html |
| 24689389453502b73597aa5052425148 | NORMAL | 1 | DAYS | | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | | 0 | | | | Task 3 | | | | | | | text | alert_message.html |
Scenario Outline: Get a activity (Verification of initial values)
Given I request "project/59534741653502b6d1820d6012095837/activity/<activity>"
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "object" And the type is "object"
And the property "tas_type" of "properties" is set to "<tas_type>" And the property "tas_type" of "properties" is set to "NORMAL"
And the property "tas_duration" of "properties" is set to "<tas_duration>" And the property "tas_duration" of "properties" is set to "1"
And the property "tas_type_day" of "properties" is set to "<tas_type_day>" And the property "tas_type_day" of "properties" is set to ""
And the property "tas_timeunit" of "properties" is set to "<tas_timeunit>" And the property "tas_timeunit" of "properties" is set to "DAYS"
And the property "tas_priority_variable" of "properties" is set to "<tas_priority_variable>" And the property "tas_priority_variable" of "properties" is set to ""
And the property "tas_assign_type" of "properties" is set to "<tas_assign_type>" And the property "tas_assign_type" of "properties" is set to "BALANCED"
And the property "tas_assign_variable" of "properties" is set to "<tas_assign_variable>" And the property "tas_assign_variable" of "properties" is set to "@@SYS_NEXT_USER_TO_BE_ASSIGNED"
And the property "tas_transfer_fly" of "properties" is set to "<tas_transfer_fly>" And the property "tas_group_variable" of "properties" is set to ""
And the property "tas_send_last_email" of "properties" is set to "<tas_send_last_email>" And the property "tas_transfer_fly" of "properties" is set to "FALSE"
And the property "tas_derivation_screen_tpl" of "properties" is set to "<tas_derivation_screen_tpl>" And the property "tas_send_last_email" of "properties" is set to "FALSE"
And the property "tas_selfservice_timeout" of "properties" is set to "<tas_selfservice_timeout>" And the property "tas_derivation_screen_tpl" of "properties" is set to ""
And the property "tas_selfservice_time" of "properties" is set to "<tas_selfservice_time>" And the property "tas_selfservice_timeout" of "properties" is set to "0"
And the property "tas_selfservice_time_unit" of "properties" is set to "<tas_selfservice_time_unit>" And the property "tas_selfservice_time" of "properties" is set to ""
And the property "tas_selfservice_trigger_uid" of "properties" is set to "<tas_selfservice_trigger_uid>" And the property "tas_selfservice_time_unit" of "properties" is set to ""
And the property "tas_title" of "properties" is set to "<tas_title>" And the property "tas_selfservice_trigger_uid" of "properties" is set to ""
And the property "tas_description" of "properties" is set to "<tas_description>" And the property "tas_title" of "properties" is set to "Task 1"
And the property "tas_def_title" of "properties" is set to "<tas_def_title>" And the property "tas_description" of "properties" is set to ""
And the property "tas_def_description" of "properties" is set to "<tas_def_description>" And the property "tas_def_title" of "properties" is set to ""
And the property "tas_def_message" of "properties" is set to "<tas_def_message>" And the property "tas_def_description" of "properties" is set to ""
And the property "tas_def_subject_message" of "properties" is set to "<tas_def_subject_message>" And the property "tas_calendar" of "properties" is set to ""
And the property "tas_calendar" of "properties" is set to "<tas_calendar>" And the property "tas_def_message_type" of "properties" is set to "text"
And the property "tas_def_message_type" of "properties" is set to "<tas_def_message_type>" And the property "tas_def_message_template" of "properties" is set to "alert_message.html"
And the property "tas_def_message_template" of "properties" is set to "<tas_def_message_template>"
Examples:
| activity | tas_type | tas_duration | tas_type_day | tas_timeunit | tas_priority_variable | tas_assign_type | tas_assign_variable | tas_transfer_fly | tas_send_last_email | tas_derivation_screen_tpl | tas_selfservice_timeout | tas_selfservice_time | tas_selfservice_time_unit | tas_selfservice_trigger_uid | tas_title | tas_description | tas_def_title | tas_def_description | tas_def_message | tas_def_subject_message | tas_calendar | tas_def_message_type | tas_def_message_template |
| 28629650453502b70b7f3a8051740006 | NORMAL | 1 | | DAYS | | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | FALSE | | 0 | | | | Task 1 | | | | | | | text | alert_message.html |
| 52976670353502b71e2b0a8036043148 | NORMAL | 1 | | DAYS | | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | FALSE | | 0 | | | | Task 2 | | | | | | | text | alert_message.html |
| 24689389453502b73597aa5052425148 | NORMAL | 1 | | DAYS | | BALANCED | @@SYS_NEXT_USER_TO_BE_ASSIGNED | FALSE | FALSE | | 0 | | | | Task 3 | | | | | | | text | alert_message.html |