Test duration : 10.185s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.130s |
2021-03-08 21:30:10 |
2021-03-08 21:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:10 | ------------------------------------ 2021-03-08 21:30:10 | [Mutex] waiting for: [configured:node:node-073cb25d-6f89-4e3d-9b55-359e9db6f61c:node-f46bf0f7-178c-4996-8b86-4edc7f9cc371] 2021-03-08 21:30:10 | [Mutex] received everything. 2021-03-08 21:30:10 | [Mutex] isItemNotified: configured:node:node-073cb25d-6f89-4e3d-9b55-359e9db6f61c:node-f46bf0f7-178c-4996-8b86-4edc7f9cc371 :: true 2021-03-08 21:30:11 | [Mutex] waiting for: [received:nodes:83f44b61-84c7-4234-b38a-8a565df2bcc3:localhost] 2021-03-08 21:30:11 | [Mutex] received everything. 2021-03-08 21:30:11 | [Mutex] isItemNotified: received:node:83f44b61-84c7-4234-b38a-8a565df2bcc3:localhost:node-073cb25d-6f89-4e3d-9b55-359e9db6f61c:Node 073cb25d-6f89-4e3d-9b55-359e9db6f61c :: true 2021-03-08 21:30:11 | [Mutex] waiting for: [received:nodes:eec0b2a9-8a76-46b3-bf77-89a3c89a4f6c:localhost] 2021-03-08 21:30:11 | [Mutex] received everything. 2021-03-08 21:30:11 | [Mutex] isItemNotified: received:node:eec0b2a9-8a76-46b3-bf77-89a3c89a4f6c:localhost:node-073cb25d-6f89-4e3d-9b55-359e9db6f61c:Node 073cb25d-6f89-4e3d-9b55-359e9db6f61c :: false |
createNodes | 1.498s |
2021-03-08 21:30:07 |
2021-03-08 21:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:07 | ------------------------------------ 2021-03-08 21:30:07 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-073cb25d-6f89-4e3d-9b55-359e9db6f61c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 073cb25d-6f89-4e3d-9b55-359e9db6f61c</title></pubsub></data> 2021-03-08 21:30:08 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:30:09 | [Mutex] waiting for: [received:nodes:93e80947-8fd2-47a0-96c4-049fec7875af:localhost] 2021-03-08 21:30:09 | [Mutex] received everything. 2021-03-08 21:30:09 | [Mutex] isItemNotified: received:node:93e80947-8fd2-47a0-96c4-049fec7875af:localhost:node-073cb25d-6f89-4e3d-9b55-359e9db6f61c:Node 073cb25d-6f89-4e3d-9b55-359e9db6f61c :: true |
createSubnodes | 1.030s |
2021-03-08 21:30:09 |
2021-03-08 21:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:09 | ------------------------------------ 2021-03-08 21:30:09 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f46bf0f7-178c-4996-8b86-4edc7f9cc371</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f46bf0f7-178c-4996-8b86-4edc7f9cc371</title></pubsub></data> 2021-03-08 21:30:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:30:10 | [Mutex] waiting for: [received:nodes:0f039f6d-15f0-4fc9-be07-9a3926c6901c:localhost] 2021-03-08 21:30:10 | [Mutex] received everything. 2021-03-08 21:30:10 | [Mutex] isItemNotified: received:node:0f039f6d-15f0-4fc9-be07-9a3926c6901c:localhost:node-f46bf0f7-178c-4996-8b86-4edc7f9cc371:Node f46bf0f7-178c-4996-8b86-4edc7f9cc371 :: true |
deleteNodes | 1.018s |
2021-03-08 21:30:15 |
2021-03-08 21:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:15 | ------------------------------------ 2021-03-08 21:30:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f46bf0f7-178c-4996-8b86-4edc7f9cc371</node></data> 2021-03-08 21:30:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:30:16 | [Mutex] waiting for: [received:nodes:e26d870d-e56a-47a6-8bdd-97c8f531680b:localhost] 2021-03-08 21:30:16 | [Mutex] received everything. 2021-03-08 21:30:16 | [Mutex] isItemNotified: received:node:e26d870d-e56a-47a6-8bdd-97c8f531680b:localhost:node-f46bf0f7-178c-4996-8b86-4edc7f9cc371:Node f46bf0f7-178c-4996-8b86-4edc7f9cc371 :: false |
deleteSubnodes | 1.124s |
2021-03-08 21:30:14 |
2021-03-08 21:30:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:14 | ------------------------------------ 2021-03-08 21:30:14 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-073cb25d-6f89-4e3d-9b55-359e9db6f61c</node></data> 2021-03-08 21:30:14 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-08 21:30:15 | [Mutex] waiting for: [received:nodes:db69b74c-f4cb-42cb-9d44-58ba1c2f8677:localhost] 2021-03-08 21:30:15 | [Mutex] received everything. 2021-03-08 21:30:15 | [Mutex] isItemNotified: received:node:db69b74c-f4cb-42cb-9d44-58ba1c2f8677:localhost:node-073cb25d-6f89-4e3d-9b55-359e9db6f61c:Node 073cb25d-6f89-4e3d-9b55-359e9db6f61c :: false 2021-03-08 21:30:15 | [Mutex] waiting for: [received:nodes:eaca63a5-a379-4605-b69e-7fa58bebc2a4:localhost] 2021-03-08 21:30:15 | [Mutex] received everything. 2021-03-08 21:30:15 | [Mutex] isItemNotified: received:node:eaca63a5-a379-4605-b69e-7fa58bebc2a4:localhost:node-073cb25d-6f89-4e3d-9b55-359e9db6f61c:Node 073cb25d-6f89-4e3d-9b55-359e9db6f61c :: false |
publishItemsToNodes | 0.260s |
2021-03-08 21:30:12 |
2021-03-08 21:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:12 | ------------------------------------ 2021-03-08 21:30:12 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-073cb25d-6f89-4e3d-9b55-359e9db6f61c</node><item-id>item-392b578a-4dc7-40f7-b48a-61c04077b0e6</item-id><entry><test>item-392b578a-4dc7-40f7-b48a-61c04077b0e6</test></entry></data> 2021-03-08 21:30:12 | 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-392b578a-4dc7-40f7-b48a-61c04077b0e6</value></item-id></result> 2021-03-08 21:30:12 | [Mutex] waiting for: [published:item:notifieditem-392b578a-4dc7-40f7-b48a-61c04077b0e6:admin@test-domain.com] 2021-03-08 21:30:12 | [Mutex] received everything. 2021-03-08 21:30:12 | [Mutex] isItemNotified: published:item:notifieditem-392b578a-4dc7-40f7-b48a-61c04077b0e6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.388s |
2021-03-08 21:30:13 |
2021-03-08 21:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:13 | ------------------------------------ 2021-03-08 21:30:13 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-073cb25d-6f89-4e3d-9b55-359e9db6f61c</node><item-id>item-392b578a-4dc7-40f7-b48a-61c04077b0e6</item-id></data> 2021-03-08 21:30:13 | 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-392b578a-4dc7-40f7-b48a-61c04077b0e6</value></item-id></result> 2021-03-08 21:30:13 | [Mutex] waiting for: [retracted:item:notifieditem-392b578a-4dc7-40f7-b48a-61c04077b0e6:admin@test-domain.com] 2021-03-08 21:30:13 | [Mutex] received everything. 2021-03-08 21:30:13 | [Mutex] isItemNotified: retracted:item:notifieditem-392b578a-4dc7-40f7-b48a-61c04077b0e6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.257s |
2021-03-08 21:30:12 |
2021-03-08 21:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:12 | ------------------------------------ 2021-03-08 21:30:12 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-073cb25d-6f89-4e3d-9b55-359e9db6f61c</node><item-id>item-392b578a-4dc7-40f7-b48a-61c04077b0e6</item-id></data> 2021-03-08 21:30:13 | 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-073cb25d-6f89-4e3d-9b55-359e9db6f61c</value></node><item-id type="text-single" label="Item ID"><value>item-392b578a-4dc7-40f7-b48a-61c04077b0e6</value></item-id><item type="text-multi" label="Item"><value><item id="item-392b578a-4dc7-40f7-b48a-61c04077b0e6"><test>item-392b578a-4dc7-40f7-b48a-61c04077b0e6</test></item></value></item></result> 2021-03-08 21:30:13 | [Mutex] notify: [retrieved:item:item-392b578a-4dc7-40f7-b48a-61c04077b0e6:payload-matches:true:localhost] 2021-03-08 21:30:13 | [Mutex] received everything. 2021-03-08 21:30:13 | [Mutex] isItemNotified: retrieved:item:item-392b578a-4dc7-40f7-b48a-61c04077b0e6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-08 21:30:13 |
2021-03-08 21:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:13 | ------------------------------------ 2021-03-08 21:30:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-08 21:30:13 | 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-073cb25d-6f89-4e3d-9b55-359e9db6f61c</value><value>node-f46bf0f7-178c-4996-8b86-4edc7f9cc371</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2021-03-08 21:30:13 |
2021-03-08 21:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:13 | ------------------------------------ 2021-03-08 21:30:13 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-073cb25d-6f89-4e3d-9b55-359e9db6f61c)</node-pattern></data> 2021-03-08 21:30:13 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.123s |
2021-03-08 21:30:11 |
2021-03-08 21:30:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:11 | ------------------------------------ 2021-03-08 21:30:11 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-073cb25d-6f89-4e3d-9b55-359e9db6f61c</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-08 21:30:11 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.213s |
2021-03-08 21:30:13 |
2021-03-08 21:30:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-08 21:30:13 | ------------------------------------ 2021-03-08 21:30:13 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-073cb25d-6f89-4e3d-9b55-359e9db6f61c</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-08 21:30:13 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |