Test duration : 9.699s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.120s |
2020-09-20 00:10:50 |
2020-09-20 00:10:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:50 | ------------------------------------ 2020-09-20 00:10:50 | [Mutex] waiting for: [configured:node:node-98656df4-47f8-471c-b9a3-de90d6c1979d:node-5ede49fa-4860-4f50-8b71-6985e1f9c575] 2020-09-20 00:10:50 | [Mutex] received everything. 2020-09-20 00:10:50 | [Mutex] isItemNotified: configured:node:node-98656df4-47f8-471c-b9a3-de90d6c1979d:node-5ede49fa-4860-4f50-8b71-6985e1f9c575 :: true 2020-09-20 00:10:51 | [Mutex] waiting for: [received:nodes:6b7f7147-63c4-4056-8089-2249dfe08e98:localhost] 2020-09-20 00:10:51 | [Mutex] received everything. 2020-09-20 00:10:51 | [Mutex] isItemNotified: received:node:6b7f7147-63c4-4056-8089-2249dfe08e98:localhost:node-98656df4-47f8-471c-b9a3-de90d6c1979d:Node 98656df4-47f8-471c-b9a3-de90d6c1979d :: true 2020-09-20 00:10:51 | [Mutex] waiting for: [received:nodes:010544d2-cf4b-4862-964b-02959fecf8d0:localhost] 2020-09-20 00:10:51 | [Mutex] received everything. 2020-09-20 00:10:51 | [Mutex] isItemNotified: received:node:010544d2-cf4b-4862-964b-02959fecf8d0:localhost:node-98656df4-47f8-471c-b9a3-de90d6c1979d:Node 98656df4-47f8-471c-b9a3-de90d6c1979d :: false |
createNodes | 1.458s |
2020-09-20 00:10:47 |
2020-09-20 00:10:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:47 | ------------------------------------ 2020-09-20 00:10:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-98656df4-47f8-471c-b9a3-de90d6c1979d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 98656df4-47f8-471c-b9a3-de90d6c1979d</title></pubsub></data> 2020-09-20 00:10:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 00:10:49 | [Mutex] waiting for: [received:nodes:d773862c-d6fc-4490-9420-99ef627695e9:localhost] 2020-09-20 00:10:49 | [Mutex] received everything. 2020-09-20 00:10:49 | [Mutex] isItemNotified: received:node:d773862c-d6fc-4490-9420-99ef627695e9:localhost:node-98656df4-47f8-471c-b9a3-de90d6c1979d:Node 98656df4-47f8-471c-b9a3-de90d6c1979d :: true |
createSubnodes | 1.022s |
2020-09-20 00:10:49 |
2020-09-20 00:10:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:49 | ------------------------------------ 2020-09-20 00:10:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5ede49fa-4860-4f50-8b71-6985e1f9c575</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5ede49fa-4860-4f50-8b71-6985e1f9c575</title></pubsub></data> 2020-09-20 00:10:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 00:10:50 | [Mutex] waiting for: [received:nodes:917d7f9f-2377-4058-9ea1-dda2f016dc4f:localhost] 2020-09-20 00:10:50 | [Mutex] received everything. 2020-09-20 00:10:50 | [Mutex] isItemNotified: received:node:917d7f9f-2377-4058-9ea1-dda2f016dc4f:localhost:node-5ede49fa-4860-4f50-8b71-6985e1f9c575:Node 5ede49fa-4860-4f50-8b71-6985e1f9c575 :: true |
deleteNodes | 1.022s |
2020-09-20 00:10:55 |
2020-09-20 00:10:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:55 | ------------------------------------ 2020-09-20 00:10:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5ede49fa-4860-4f50-8b71-6985e1f9c575</node></data> 2020-09-20 00:10:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 00:10:56 | [Mutex] waiting for: [received:nodes:25606818-0bbd-4daf-aefd-47e6dc67623e:localhost] 2020-09-20 00:10:56 | [Mutex] received everything. 2020-09-20 00:10:56 | [Mutex] isItemNotified: received:node:25606818-0bbd-4daf-aefd-47e6dc67623e:localhost:node-5ede49fa-4860-4f50-8b71-6985e1f9c575:Node 5ede49fa-4860-4f50-8b71-6985e1f9c575 :: false |
deleteSubnodes | 1.159s |
2020-09-20 00:10:54 |
2020-09-20 00:10:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:54 | ------------------------------------ 2020-09-20 00:10:54 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-98656df4-47f8-471c-b9a3-de90d6c1979d</node></data> 2020-09-20 00:10:54 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-20 00:10:55 | [Mutex] waiting for: [received:nodes:5fbc2413-a285-4d67-b88b-c24ecb7a01a3:localhost] 2020-09-20 00:10:55 | [Mutex] received everything. 2020-09-20 00:10:55 | [Mutex] isItemNotified: received:node:5fbc2413-a285-4d67-b88b-c24ecb7a01a3:localhost:node-98656df4-47f8-471c-b9a3-de90d6c1979d:Node 98656df4-47f8-471c-b9a3-de90d6c1979d :: false 2020-09-20 00:10:55 | [Mutex] waiting for: [received:nodes:2c1aa5ad-d0f2-46f4-9c2e-bc68a52b4051:localhost] 2020-09-20 00:10:55 | [Mutex] received everything. 2020-09-20 00:10:55 | [Mutex] isItemNotified: received:node:2c1aa5ad-d0f2-46f4-9c2e-bc68a52b4051:localhost:node-98656df4-47f8-471c-b9a3-de90d6c1979d:Node 98656df4-47f8-471c-b9a3-de90d6c1979d :: false |
publishItemsToNodes | 0.167s |
2020-09-20 00:10:52 |
2020-09-20 00:10:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:52 | ------------------------------------ 2020-09-20 00:10:52 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-98656df4-47f8-471c-b9a3-de90d6c1979d</node><item-id>item-af435d67-700e-4a0f-9bbd-462d5511ab0e</item-id><entry><test>item-af435d67-700e-4a0f-9bbd-462d5511ab0e</test></entry></data> 2020-09-20 00:10:52 | 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-af435d67-700e-4a0f-9bbd-462d5511ab0e</value></item-id></result> 2020-09-20 00:10:52 | [Mutex] received everything. 2020-09-20 00:10:52 | [Mutex] isItemNotified: published:item:notifieditem-af435d67-700e-4a0f-9bbd-462d5511ab0e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.152s |
2020-09-20 00:10:53 |
2020-09-20 00:10:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:53 | ------------------------------------ 2020-09-20 00:10:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-98656df4-47f8-471c-b9a3-de90d6c1979d</node><item-id>item-af435d67-700e-4a0f-9bbd-462d5511ab0e</item-id></data> 2020-09-20 00:10:53 | 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-af435d67-700e-4a0f-9bbd-462d5511ab0e</value></item-id></result> 2020-09-20 00:10:53 | [Mutex] received everything. 2020-09-20 00:10:53 | [Mutex] isItemNotified: retracted:item:notifieditem-af435d67-700e-4a0f-9bbd-462d5511ab0e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.165s |
2020-09-20 00:10:52 |
2020-09-20 00:10:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:52 | ------------------------------------ 2020-09-20 00:10:52 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-98656df4-47f8-471c-b9a3-de90d6c1979d</node><item-id>item-af435d67-700e-4a0f-9bbd-462d5511ab0e</item-id></data> 2020-09-20 00:10:52 | 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-98656df4-47f8-471c-b9a3-de90d6c1979d</value></node><item-id type="text-single" label="Item ID"><value>item-af435d67-700e-4a0f-9bbd-462d5511ab0e</value></item-id><item type="text-multi" label="Item"><value><item id="item-af435d67-700e-4a0f-9bbd-462d5511ab0e"><test>item-af435d67-700e-4a0f-9bbd-462d5511ab0e</test></item></value></item></result> 2020-09-20 00:10:52 | [Mutex] notify: [retrieved:item:item-af435d67-700e-4a0f-9bbd-462d5511ab0e:payload-matches:true:localhost] 2020-09-20 00:10:52 | [Mutex] received everything. 2020-09-20 00:10:52 | [Mutex] isItemNotified: retrieved:item:item-af435d67-700e-4a0f-9bbd-462d5511ab0e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-20 00:10:52 |
2020-09-20 00:10:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:52 | ------------------------------------ 2020-09-20 00:10:52 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-20 00:10:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-98656df4-47f8-471c-b9a3-de90d6c1979d</value><value>test</value><value>node-5ede49fa-4860-4f50-8b71-6985e1f9c575</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2020-09-20 00:10:53 |
2020-09-20 00:10:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:53 | ------------------------------------ 2020-09-20 00:10:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-98656df4-47f8-471c-b9a3-de90d6c1979d)</node-pattern></data> 2020-09-20 00:10:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.109s |
2020-09-20 00:10:51 |
2020-09-20 00:10:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:51 | ------------------------------------ 2020-09-20 00:10:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-98656df4-47f8-471c-b9a3-de90d6c1979d</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-20 00:10:51 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.256s |
2020-09-20 00:10:53 |
2020-09-20 00:10:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-20 00:10:53 | ------------------------------------ 2020-09-20 00:10:53 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-98656df4-47f8-471c-b9a3-de90d6c1979d</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-20 00:10:53 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |