Test duration : 9.844s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.103s |
2020-09-14 22:50:07 |
2020-09-14 22:50:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:07 | ------------------------------------ 2020-09-14 22:50:07 | [Mutex] waiting for: [configured:node:node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3:node-ecee24cb-5618-4d37-abad-628941ea1936] 2020-09-14 22:50:07 | [Mutex] received everything. 2020-09-14 22:50:07 | [Mutex] isItemNotified: configured:node:node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3:node-ecee24cb-5618-4d37-abad-628941ea1936 :: true 2020-09-14 22:50:08 | [Mutex] waiting for: [received:nodes:2b90d757-fb9a-444b-8d1e-c7f9249f566c:localhost] 2020-09-14 22:50:08 | [Mutex] received everything. 2020-09-14 22:50:08 | [Mutex] isItemNotified: received:node:2b90d757-fb9a-444b-8d1e-c7f9249f566c:localhost:node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3:Node 96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3 :: true 2020-09-14 22:50:08 | [Mutex] waiting for: [received:nodes:f6b77e85-ed12-4e1a-8da7-a9bcbfdbb2dd:localhost] 2020-09-14 22:50:08 | [Mutex] waiting for: [received:nodes:f6b77e85-ed12-4e1a-8da7-a9bcbfdbb2dd:localhost] 2020-09-14 22:50:08 | [Mutex] received everything. 2020-09-14 22:50:08 | [Mutex] isItemNotified: received:node:f6b77e85-ed12-4e1a-8da7-a9bcbfdbb2dd:localhost:node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3:Node 96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3 :: false |
createNodes | 1.435s |
2020-09-14 22:50:04 |
2020-09-14 22:50:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:04 | ------------------------------------ 2020-09-14 22:50:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</title></pubsub></data> 2020-09-14 22:50:05 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:50:06 | [Mutex] waiting for: [received:nodes:de9c4133-5e3f-4a6f-8fc2-07be5a7679e3:localhost] 2020-09-14 22:50:06 | [Mutex] received everything. 2020-09-14 22:50:06 | [Mutex] isItemNotified: received:node:de9c4133-5e3f-4a6f-8fc2-07be5a7679e3:localhost:node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3:Node 96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3 :: true |
createSubnodes | 1.031s |
2020-09-14 22:50:06 |
2020-09-14 22:50:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:06 | ------------------------------------ 2020-09-14 22:50:06 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ecee24cb-5618-4d37-abad-628941ea1936</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ecee24cb-5618-4d37-abad-628941ea1936</title></pubsub></data> 2020-09-14 22:50:06 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:50:07 | [Mutex] waiting for: [received:nodes:f83b5bdf-dc2e-4b36-88b8-3a1791bc382b:localhost] 2020-09-14 22:50:07 | [Mutex] received everything. 2020-09-14 22:50:07 | [Mutex] isItemNotified: received:node:f83b5bdf-dc2e-4b36-88b8-3a1791bc382b:localhost:node-ecee24cb-5618-4d37-abad-628941ea1936:Node ecee24cb-5618-4d37-abad-628941ea1936 :: true |
deleteNodes | 1.019s |
2020-09-14 22:50:12 |
2020-09-14 22:50:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:12 | ------------------------------------ 2020-09-14 22:50:12 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ecee24cb-5618-4d37-abad-628941ea1936</node></data> 2020-09-14 22:50:12 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:50:13 | [Mutex] waiting for: [received:nodes:82be285b-109b-4abb-85d5-67ddf28a6089:localhost] 2020-09-14 22:50:13 | [Mutex] waiting for: [received:nodes:82be285b-109b-4abb-85d5-67ddf28a6089:localhost] 2020-09-14 22:50:13 | [Mutex] received everything. 2020-09-14 22:50:13 | [Mutex] isItemNotified: received:node:82be285b-109b-4abb-85d5-67ddf28a6089:localhost:node-ecee24cb-5618-4d37-abad-628941ea1936:Node ecee24cb-5618-4d37-abad-628941ea1936 :: false |
deleteSubnodes | 1.119s |
2020-09-14 22:50:11 |
2020-09-14 22:50:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:11 | ------------------------------------ 2020-09-14 22:50:11 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</node></data> 2020-09-14 22:50:11 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-14 22:50:12 | [Mutex] waiting for: [received:nodes:8dc4fed1-a400-4bc4-931c-934b4c3bf1e9:localhost] 2020-09-14 22:50:12 | [Mutex] received everything. 2020-09-14 22:50:12 | [Mutex] isItemNotified: received:node:8dc4fed1-a400-4bc4-931c-934b4c3bf1e9:localhost:node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3:Node 96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3 :: false 2020-09-14 22:50:12 | [Mutex] waiting for: [received:nodes:0967fa6f-531f-4fc4-bfbc-b78c4021f062:localhost] 2020-09-14 22:50:12 | [Mutex] received everything. 2020-09-14 22:50:12 | [Mutex] isItemNotified: received:node:0967fa6f-531f-4fc4-bfbc-b78c4021f062:localhost:node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3:Node 96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3 :: false |
publishItemsToNodes | 0.224s |
2020-09-14 22:50:09 |
2020-09-14 22:50:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:09 | ------------------------------------ 2020-09-14 22:50:09 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</node><item-id>item-3e20ac85-2361-4345-844c-049eefbed351</item-id><entry><test>item-3e20ac85-2361-4345-844c-049eefbed351</test></entry></data> 2020-09-14 22:50:09 | 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-3e20ac85-2361-4345-844c-049eefbed351</value></item-id></result> 2020-09-14 22:50:09 | [Mutex] waiting for: [published:item:notifieditem-3e20ac85-2361-4345-844c-049eefbed351:admin@test-domain.com] 2020-09-14 22:50:09 | [Mutex] received everything. 2020-09-14 22:50:09 | [Mutex] isItemNotified: published:item:notifieditem-3e20ac85-2361-4345-844c-049eefbed351:admin@test-domain.com :: true |
retractItemsFromNodes | 0.227s |
2020-09-14 22:50:10 |
2020-09-14 22:50:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:10 | ------------------------------------ 2020-09-14 22:50:10 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</node><item-id>item-3e20ac85-2361-4345-844c-049eefbed351</item-id></data> 2020-09-14 22:50:10 | 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-3e20ac85-2361-4345-844c-049eefbed351</value></item-id></result> 2020-09-14 22:50:10 | [Mutex] received everything. 2020-09-14 22:50:10 | [Mutex] isItemNotified: retracted:item:notifieditem-3e20ac85-2361-4345-844c-049eefbed351:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2020-09-14 22:50:09 |
2020-09-14 22:50:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:09 | ------------------------------------ 2020-09-14 22:50:09 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</node><item-id>item-3e20ac85-2361-4345-844c-049eefbed351</item-id></data> 2020-09-14 22:50:09 | 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-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</value></node><item-id type="text-single" label="Item ID"><value>item-3e20ac85-2361-4345-844c-049eefbed351</value></item-id><item type="text-multi" label="Item"><value><item id="item-3e20ac85-2361-4345-844c-049eefbed351"><test>item-3e20ac85-2361-4345-844c-049eefbed351</test></item></value></item></result> 2020-09-14 22:50:09 | [Mutex] notify: [retrieved:item:item-3e20ac85-2361-4345-844c-049eefbed351:payload-matches:true:localhost] 2020-09-14 22:50:09 | [Mutex] received everything. 2020-09-14 22:50:09 | [Mutex] isItemNotified: retrieved:item:item-3e20ac85-2361-4345-844c-049eefbed351:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-09-14 22:50:09 |
2020-09-14 22:50:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:09 | ------------------------------------ 2020-09-14 22:50:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-14 22:50:09 | 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-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</value><value>node-ecee24cb-5618-4d37-abad-628941ea1936</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-14 22:50:09 |
2020-09-14 22:50:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:09 | ------------------------------------ 2020-09-14 22:50:09 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3)</node-pattern></data> 2020-09-14 22:50:10 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2020-09-14 22:50:08 |
2020-09-14 22:50:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:08 | ------------------------------------ 2020-09-14 22:50:08 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-14 22:50:08 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.315s |
2020-09-14 22:50:10 |
2020-09-14 22:50:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-14 22:50:10 | ------------------------------------ 2020-09-14 22:50:10 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-96ba6ca2-9bbc-41ce-b0ba-7e1f4f728ed3</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-14 22:50:10 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |