Test duration : 9.991s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.081s |
2021-09-20 00:00:53 |
2021-09-20 00:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:53 | ------------------------------------ 2021-09-20 00:00:53 | [Mutex] waiting for: [configured:node:node-a68e2495-7a57-457c-bca7-a5f5e6b9db55:node-d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c] 2021-09-20 00:00:53 | [Mutex] received everything. 2021-09-20 00:00:53 | [Mutex] isItemNotified: configured:node:node-a68e2495-7a57-457c-bca7-a5f5e6b9db55:node-d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c :: true 2021-09-20 00:00:54 | [Mutex] waiting for: [received:nodes:61c7284c-18ca-4d38-8667-299cc3f5eb37:localhost] 2021-09-20 00:00:54 | [Mutex] received everything. 2021-09-20 00:00:54 | [Mutex] isItemNotified: received:node:61c7284c-18ca-4d38-8667-299cc3f5eb37:localhost:node-a68e2495-7a57-457c-bca7-a5f5e6b9db55:Node a68e2495-7a57-457c-bca7-a5f5e6b9db55 :: true 2021-09-20 00:00:54 | [Mutex] waiting for: [received:nodes:ef7df440-6955-42b4-9a29-59ceb6bacc81:localhost] 2021-09-20 00:00:54 | [Mutex] waiting for: [received:nodes:ef7df440-6955-42b4-9a29-59ceb6bacc81:localhost] 2021-09-20 00:00:54 | [Mutex] received everything. 2021-09-20 00:00:54 | [Mutex] isItemNotified: received:node:ef7df440-6955-42b4-9a29-59ceb6bacc81:localhost:node-a68e2495-7a57-457c-bca7-a5f5e6b9db55:Node a68e2495-7a57-457c-bca7-a5f5e6b9db55 :: false |
createNodes | 1.580s |
2021-09-20 00:00:51 |
2021-09-20 00:00:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:51 | ------------------------------------ 2021-09-20 00:00:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a68e2495-7a57-457c-bca7-a5f5e6b9db55</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a68e2495-7a57-457c-bca7-a5f5e6b9db55</title></pubsub></data> 2021-09-20 00:00:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-20 00:00:52 | [Mutex] waiting for: [received:nodes:53b4427b-a909-4169-b30e-68a103c8e4a7:localhost] 2021-09-20 00:00:52 | [Mutex] received everything. 2021-09-20 00:00:52 | [Mutex] isItemNotified: received:node:53b4427b-a909-4169-b30e-68a103c8e4a7:localhost:node-a68e2495-7a57-457c-bca7-a5f5e6b9db55:Node a68e2495-7a57-457c-bca7-a5f5e6b9db55 :: true |
createSubnodes | 1.045s |
2021-09-20 00:00:52 |
2021-09-20 00:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:52 | ------------------------------------ 2021-09-20 00:00:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c</title></pubsub></data> 2021-09-20 00:00:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-20 00:00:53 | [Mutex] waiting for: [received:nodes:078fc12b-2a1b-4487-bdfd-2e1c05c1e5d4:localhost] 2021-09-20 00:00:53 | [Mutex] received everything. 2021-09-20 00:00:53 | [Mutex] isItemNotified: received:node:078fc12b-2a1b-4487-bdfd-2e1c05c1e5d4:localhost:node-d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c:Node d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c :: true |
deleteNodes | 1.021s |
2021-09-20 00:00:59 |
2021-09-20 00:00:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:59 | ------------------------------------ 2021-09-20 00:00:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c</node></data> 2021-09-20 00:00:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-20 00:01:00 | [Mutex] waiting for: [received:nodes:effc994f-19cc-4bd6-8e8a-3c94afd8ea08:localhost] 2021-09-20 00:01:00 | [Mutex] waiting for: [received:nodes:effc994f-19cc-4bd6-8e8a-3c94afd8ea08:localhost] 2021-09-20 00:01:00 | [Mutex] received everything. 2021-09-20 00:01:00 | [Mutex] isItemNotified: received:node:effc994f-19cc-4bd6-8e8a-3c94afd8ea08:localhost:node-d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c:Node d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c :: false |
deleteSubnodes | 1.134s |
2021-09-20 00:00:58 |
2021-09-20 00:00:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:58 | ------------------------------------ 2021-09-20 00:00:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a68e2495-7a57-457c-bca7-a5f5e6b9db55</node></data> 2021-09-20 00:00:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-09-20 00:00:59 | [Mutex] waiting for: [received:nodes:dacd06c4-6b68-43fc-ba7d-9c0f3638d96f:localhost] 2021-09-20 00:00:59 | [Mutex] waiting for: [received:nodes:dacd06c4-6b68-43fc-ba7d-9c0f3638d96f:localhost] 2021-09-20 00:00:59 | [Mutex] received everything. 2021-09-20 00:00:59 | [Mutex] isItemNotified: received:node:dacd06c4-6b68-43fc-ba7d-9c0f3638d96f:localhost:node-a68e2495-7a57-457c-bca7-a5f5e6b9db55:Node a68e2495-7a57-457c-bca7-a5f5e6b9db55 :: false 2021-09-20 00:00:59 | [Mutex] waiting for: [received:nodes:0ceabfe3-035a-43c9-9442-a4ba4bec25ae:localhost] 2021-09-20 00:00:59 | [Mutex] received everything. 2021-09-20 00:00:59 | [Mutex] isItemNotified: received:node:0ceabfe3-035a-43c9-9442-a4ba4bec25ae:localhost:node-a68e2495-7a57-457c-bca7-a5f5e6b9db55:Node a68e2495-7a57-457c-bca7-a5f5e6b9db55 :: false |
publishItemsToNodes | 0.265s |
2021-09-20 00:00:55 |
2021-09-20 00:00:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:55 | ------------------------------------ 2021-09-20 00:00:55 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a68e2495-7a57-457c-bca7-a5f5e6b9db55</node><item-id>item-91a73705-ce5a-4215-b0d9-d3bf5aaed734</item-id><entry><test>item-91a73705-ce5a-4215-b0d9-d3bf5aaed734</test></entry></data> 2021-09-20 00:00:56 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-91a73705-ce5a-4215-b0d9-d3bf5aaed734</value></item-id></result> 2021-09-20 00:00:56 | [Mutex] received everything. 2021-09-20 00:00:56 | [Mutex] isItemNotified: published:item:notifieditem-91a73705-ce5a-4215-b0d9-d3bf5aaed734:admin@test-domain.com :: true |
retractItemsFromNodes | 0.160s |
2021-09-20 00:00:56 |
2021-09-20 00:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:56 | ------------------------------------ 2021-09-20 00:00:56 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a68e2495-7a57-457c-bca7-a5f5e6b9db55</node><item-id>item-91a73705-ce5a-4215-b0d9-d3bf5aaed734</item-id></data> 2021-09-20 00:00:56 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-91a73705-ce5a-4215-b0d9-d3bf5aaed734</value></item-id></result> 2021-09-20 00:00:56 | [Mutex] received everything. 2021-09-20 00:00:56 | [Mutex] isItemNotified: retracted:item:notifieditem-91a73705-ce5a-4215-b0d9-d3bf5aaed734:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.284s |
2021-09-20 00:00:56 |
2021-09-20 00:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:56 | ------------------------------------ 2021-09-20 00:00:56 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a68e2495-7a57-457c-bca7-a5f5e6b9db55</node><item-id>item-91a73705-ce5a-4215-b0d9-d3bf5aaed734</item-id></data> 2021-09-20 00:00:56 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-a68e2495-7a57-457c-bca7-a5f5e6b9db55</value></node><item-id type="text-single" label="Item ID"><value>item-91a73705-ce5a-4215-b0d9-d3bf5aaed734</value></item-id><item type="text-multi" label="Item"><value><item id="item-91a73705-ce5a-4215-b0d9-d3bf5aaed734"><test>item-91a73705-ce5a-4215-b0d9-d3bf5aaed734</test></item></value></item></result> 2021-09-20 00:00:56 | [Mutex] notify: [retrieved:item:item-91a73705-ce5a-4215-b0d9-d3bf5aaed734:payload-matches:true:localhost] 2021-09-20 00:00:56 | [Mutex] received everything. 2021-09-20 00:00:56 | [Mutex] isItemNotified: retrieved:item:item-91a73705-ce5a-4215-b0d9-d3bf5aaed734:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-09-20 00:00:56 |
2021-09-20 00:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:56 | ------------------------------------ 2021-09-20 00:00:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-09-20 00:00:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-d5fb4a7f-1331-455a-aa27-42ca2a5a3a2c</value><value>node-a68e2495-7a57-457c-bca7-a5f5e6b9db55</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2021-09-20 00:00:56 |
2021-09-20 00:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:56 | ------------------------------------ 2021-09-20 00:00:56 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a68e2495-7a57-457c-bca7-a5f5e6b9db55)</node-pattern></data> 2021-09-20 00:00:56 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.146s |
2021-09-20 00:00:54 |
2021-09-20 00:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:54 | ------------------------------------ 2021-09-20 00:00:54 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a68e2495-7a57-457c-bca7-a5f5e6b9db55</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-20 00:00:54 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.279s |
2021-09-20 00:00:56 |
2021-09-20 00:00:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-09-20 00:00:56 | ------------------------------------ 2021-09-20 00:00:56 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a68e2495-7a57-457c-bca7-a5f5e6b9db55</node><jids><value>admin@test-domain.com</value></jids></data> 2021-09-20 00:00:57 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |