Test duration : 10.556s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.121s |
2021-05-06 23:04:11 |
2021-05-06 23:04:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:11 | ------------------------------------ 2021-05-06 23:04:11 | [Mutex] waiting for: [configured:node:node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9:node-d5c879ba-55a4-4017-8160-22fcd2ef6382] 2021-05-06 23:04:11 | [Mutex] received everything. 2021-05-06 23:04:11 | [Mutex] isItemNotified: configured:node:node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9:node-d5c879ba-55a4-4017-8160-22fcd2ef6382 :: true 2021-05-06 23:04:12 | [Mutex] waiting for: [received:nodes:eba7cfc1-25fe-4aaa-9283-49cfd133f364:localhost] 2021-05-06 23:04:12 | [Mutex] received everything. 2021-05-06 23:04:12 | [Mutex] isItemNotified: received:node:eba7cfc1-25fe-4aaa-9283-49cfd133f364:localhost:node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9:Node 07bd3be6-49b2-4b1b-ae96-ccb7624970d9 :: true 2021-05-06 23:04:12 | [Mutex] waiting for: [received:nodes:328cab69-58fa-4a71-bb8c-61da30a6d6a6:localhost] 2021-05-06 23:04:12 | [Mutex] waiting for: [received:nodes:328cab69-58fa-4a71-bb8c-61da30a6d6a6:localhost] 2021-05-06 23:04:12 | [Mutex] received everything. 2021-05-06 23:04:12 | [Mutex] isItemNotified: received:node:328cab69-58fa-4a71-bb8c-61da30a6d6a6:localhost:node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9:Node 07bd3be6-49b2-4b1b-ae96-ccb7624970d9 :: false |
createNodes | 1.527s |
2021-05-06 23:04:08 |
2021-05-06 23:04:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:08 | ------------------------------------ 2021-05-06 23:04:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 07bd3be6-49b2-4b1b-ae96-ccb7624970d9</title></pubsub></data> 2021-05-06 23:04:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 23:04:10 | [Mutex] waiting for: [received:nodes:a2f74ef6-cdc7-4663-beb9-a24d53afa8c1:localhost] 2021-05-06 23:04:10 | [Mutex] received everything. 2021-05-06 23:04:10 | [Mutex] isItemNotified: received:node:a2f74ef6-cdc7-4663-beb9-a24d53afa8c1:localhost:node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9:Node 07bd3be6-49b2-4b1b-ae96-ccb7624970d9 :: true |
createSubnodes | 1.041s |
2021-05-06 23:04:10 |
2021-05-06 23:04:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:10 | ------------------------------------ 2021-05-06 23:04:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d5c879ba-55a4-4017-8160-22fcd2ef6382</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d5c879ba-55a4-4017-8160-22fcd2ef6382</title></pubsub></data> 2021-05-06 23:04:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 23:04:11 | [Mutex] waiting for: [received:nodes:7a284237-ee0a-4b53-a9d9-f6c4aeba5e60:localhost] 2021-05-06 23:04:11 | [Mutex] received everything. 2021-05-06 23:04:11 | [Mutex] isItemNotified: received:node:7a284237-ee0a-4b53-a9d9-f6c4aeba5e60:localhost:node-d5c879ba-55a4-4017-8160-22fcd2ef6382:Node d5c879ba-55a4-4017-8160-22fcd2ef6382 :: true |
deleteNodes | 1.028s |
2021-05-06 23:04:17 |
2021-05-06 23:04:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:17 | ------------------------------------ 2021-05-06 23:04:17 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d5c879ba-55a4-4017-8160-22fcd2ef6382</node></data> 2021-05-06 23:04:17 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 23:04:18 | [Mutex] waiting for: [received:nodes:39f8e3f5-c59b-438d-8c41-52d61671b2fc:localhost] 2021-05-06 23:04:18 | [Mutex] received everything. 2021-05-06 23:04:18 | [Mutex] isItemNotified: received:node:39f8e3f5-c59b-438d-8c41-52d61671b2fc:localhost:node-d5c879ba-55a4-4017-8160-22fcd2ef6382:Node d5c879ba-55a4-4017-8160-22fcd2ef6382 :: false |
deleteSubnodes | 1.172s |
2021-05-06 23:04:15 |
2021-05-06 23:04:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:15 | ------------------------------------ 2021-05-06 23:04:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9</node></data> 2021-05-06 23:04:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-05-06 23:04:17 | [Mutex] waiting for: [received:nodes:244fd777-0612-4bd3-9a42-c324de734437:localhost] 2021-05-06 23:04:17 | [Mutex] received everything. 2021-05-06 23:04:17 | [Mutex] isItemNotified: received:node:244fd777-0612-4bd3-9a42-c324de734437:localhost:node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9:Node 07bd3be6-49b2-4b1b-ae96-ccb7624970d9 :: false 2021-05-06 23:04:17 | [Mutex] waiting for: [received:nodes:f5dc1c7c-8a79-46ae-878c-ba0a9fd8f036:localhost] 2021-05-06 23:04:17 | [Mutex] received everything. 2021-05-06 23:04:17 | [Mutex] isItemNotified: received:node:f5dc1c7c-8a79-46ae-878c-ba0a9fd8f036:localhost:node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9:Node 07bd3be6-49b2-4b1b-ae96-ccb7624970d9 :: false |
publishItemsToNodes | 0.281s |
2021-05-06 23:04:13 |
2021-05-06 23:04:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:13 | ------------------------------------ 2021-05-06 23:04:13 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9</node><item-id>item-64c6e86c-bb6a-46a1-bd12-e96928659e06</item-id><entry><test>item-64c6e86c-bb6a-46a1-bd12-e96928659e06</test></entry></data> 2021-05-06 23:04:13 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-64c6e86c-bb6a-46a1-bd12-e96928659e06</value></item-id></result> 2021-05-06 23:04:13 | [Mutex] received everything. 2021-05-06 23:04:13 | [Mutex] isItemNotified: published:item:notifieditem-64c6e86c-bb6a-46a1-bd12-e96928659e06:admin@test-domain.com :: true |
retractItemsFromNodes | 0.391s |
2021-05-06 23:04:14 |
2021-05-06 23:04:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:14 | ------------------------------------ 2021-05-06 23:04:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9</node><item-id>item-64c6e86c-bb6a-46a1-bd12-e96928659e06</item-id></data> 2021-05-06 23:04:14 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-64c6e86c-bb6a-46a1-bd12-e96928659e06</value></item-id></result> 2021-05-06 23:04:14 | [Mutex] received everything. 2021-05-06 23:04:14 | [Mutex] isItemNotified: retracted:item:notifieditem-64c6e86c-bb6a-46a1-bd12-e96928659e06:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.259s |
2021-05-06 23:04:13 |
2021-05-06 23:04:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:13 | ------------------------------------ 2021-05-06 23:04:13 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9</node><item-id>item-64c6e86c-bb6a-46a1-bd12-e96928659e06</item-id></data> 2021-05-06 23:04:13 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9</value></node><item-id label="Item ID" type="text-single"><value>item-64c6e86c-bb6a-46a1-bd12-e96928659e06</value></item-id><item label="Item" type="text-multi"><value><item id="item-64c6e86c-bb6a-46a1-bd12-e96928659e06"><test>item-64c6e86c-bb6a-46a1-bd12-e96928659e06</test></item></value></item></result> 2021-05-06 23:04:13 | [Mutex] notify: [retrieved:item:item-64c6e86c-bb6a-46a1-bd12-e96928659e06:payload-matches:true:localhost] 2021-05-06 23:04:13 | [Mutex] received everything. 2021-05-06 23:04:13 | [Mutex] isItemNotified: retrieved:item:item-64c6e86c-bb6a-46a1-bd12-e96928659e06:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-05-06 23:04:13 |
2021-05-06 23:04:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:13 | ------------------------------------ 2021-05-06 23:04:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-05-06 23:04:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9</value><value>node-d5c879ba-55a4-4017-8160-22fcd2ef6382</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2021-05-06 23:04:14 |
2021-05-06 23:04:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:14 | ------------------------------------ 2021-05-06 23:04:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9)</node-pattern></data> 2021-05-06 23:04:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.206s |
2021-05-06 23:04:12 |
2021-05-06 23:04:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:12 | ------------------------------------ 2021-05-06 23:04:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-06 23:04:12 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.383s |
2021-05-06 23:04:14 |
2021-05-06 23:04:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-05-06 23:04:14 | ------------------------------------ 2021-05-06 23:04:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-07bd3be6-49b2-4b1b-ae96-ccb7624970d9</node><jids><value>admin@test-domain.com</value></jids></data> 2021-05-06 23:04:14 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |