Test duration : 10.017s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2020-12-16 13:49:27 |
2020-12-16 13:49:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:27 | ------------------------------------ 2020-12-16 13:49:27 | [Mutex] waiting for: [configured:node:node-55cdbc0e-5fbf-4522-a33d-132484739bf1:node-66b519bd-92e3-4aa4-9026-799ca09d125d] 2020-12-16 13:49:27 | [Mutex] received everything. 2020-12-16 13:49:27 | [Mutex] isItemNotified: configured:node:node-55cdbc0e-5fbf-4522-a33d-132484739bf1:node-66b519bd-92e3-4aa4-9026-799ca09d125d :: true 2020-12-16 13:49:28 | [Mutex] waiting for: [received:nodes:f0be6163-a096-4cc5-a786-5bdf6797c96b:localhost] 2020-12-16 13:49:28 | [Mutex] received everything. 2020-12-16 13:49:28 | [Mutex] isItemNotified: received:node:f0be6163-a096-4cc5-a786-5bdf6797c96b:localhost:node-55cdbc0e-5fbf-4522-a33d-132484739bf1:Node 55cdbc0e-5fbf-4522-a33d-132484739bf1 :: true 2020-12-16 13:49:28 | [Mutex] waiting for: [received:nodes:6dc43874-a23a-4e78-aecd-2cc2982a1f9a:localhost] 2020-12-16 13:49:28 | [Mutex] received everything. 2020-12-16 13:49:28 | [Mutex] isItemNotified: received:node:6dc43874-a23a-4e78-aecd-2cc2982a1f9a:localhost:node-55cdbc0e-5fbf-4522-a33d-132484739bf1:Node 55cdbc0e-5fbf-4522-a33d-132484739bf1 :: false |
createNodes | 1.424s |
2020-12-16 13:49:24 |
2020-12-16 13:49:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:24 | ------------------------------------ 2020-12-16 13:49:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-55cdbc0e-5fbf-4522-a33d-132484739bf1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 55cdbc0e-5fbf-4522-a33d-132484739bf1</title></pubsub></data> 2020-12-16 13:49:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 13:49:26 | [Mutex] waiting for: [received:nodes:a9aa0e62-1728-4d57-b165-46158a299d43:localhost] 2020-12-16 13:49:26 | [Mutex] waiting for: [received:nodes:a9aa0e62-1728-4d57-b165-46158a299d43:localhost] 2020-12-16 13:49:26 | [Mutex] received everything. 2020-12-16 13:49:26 | [Mutex] isItemNotified: received:node:a9aa0e62-1728-4d57-b165-46158a299d43:localhost:node-55cdbc0e-5fbf-4522-a33d-132484739bf1:Node 55cdbc0e-5fbf-4522-a33d-132484739bf1 :: true |
createSubnodes | 1.032s |
2020-12-16 13:49:26 |
2020-12-16 13:49:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:26 | ------------------------------------ 2020-12-16 13:49:26 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-66b519bd-92e3-4aa4-9026-799ca09d125d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 66b519bd-92e3-4aa4-9026-799ca09d125d</title></pubsub></data> 2020-12-16 13:49:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 13:49:27 | [Mutex] waiting for: [received:nodes:38914c4e-ebe9-4a85-8f47-beb6ce85d233:localhost] 2020-12-16 13:49:27 | [Mutex] waiting for: [received:nodes:38914c4e-ebe9-4a85-8f47-beb6ce85d233:localhost] 2020-12-16 13:49:27 | [Mutex] received everything. 2020-12-16 13:49:27 | [Mutex] isItemNotified: received:node:38914c4e-ebe9-4a85-8f47-beb6ce85d233:localhost:node-66b519bd-92e3-4aa4-9026-799ca09d125d:Node 66b519bd-92e3-4aa4-9026-799ca09d125d :: true |
deleteNodes | 1.024s |
2020-12-16 13:49:32 |
2020-12-16 13:49:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:32 | ------------------------------------ 2020-12-16 13:49:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-66b519bd-92e3-4aa4-9026-799ca09d125d</node></data> 2020-12-16 13:49:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 13:49:33 | [Mutex] waiting for: [received:nodes:d7077530-e220-4948-9234-9324f26c5abd:localhost] 2020-12-16 13:49:33 | [Mutex] received everything. 2020-12-16 13:49:33 | [Mutex] isItemNotified: received:node:d7077530-e220-4948-9234-9324f26c5abd:localhost:node-66b519bd-92e3-4aa4-9026-799ca09d125d:Node 66b519bd-92e3-4aa4-9026-799ca09d125d :: false |
deleteSubnodes | 1.116s |
2020-12-16 13:49:31 |
2020-12-16 13:49:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:31 | ------------------------------------ 2020-12-16 13:49:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-55cdbc0e-5fbf-4522-a33d-132484739bf1</node></data> 2020-12-16 13:49:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-12-16 13:49:32 | [Mutex] waiting for: [received:nodes:b83ec1e2-1285-4b0e-83a2-5db5142e1d47:localhost] 2020-12-16 13:49:32 | [Mutex] received everything. 2020-12-16 13:49:32 | [Mutex] isItemNotified: received:node:b83ec1e2-1285-4b0e-83a2-5db5142e1d47:localhost:node-55cdbc0e-5fbf-4522-a33d-132484739bf1:Node 55cdbc0e-5fbf-4522-a33d-132484739bf1 :: false 2020-12-16 13:49:32 | [Mutex] waiting for: [received:nodes:a80e631c-1c74-419e-a462-8c96134fb6e9:localhost] 2020-12-16 13:49:32 | [Mutex] received everything. 2020-12-16 13:49:32 | [Mutex] isItemNotified: received:node:a80e631c-1c74-419e-a462-8c96134fb6e9:localhost:node-55cdbc0e-5fbf-4522-a33d-132484739bf1:Node 55cdbc0e-5fbf-4522-a33d-132484739bf1 :: false |
publishItemsToNodes | 0.259s |
2020-12-16 13:49:29 |
2020-12-16 13:49:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:29 | ------------------------------------ 2020-12-16 13:49:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-55cdbc0e-5fbf-4522-a33d-132484739bf1</node><item-id>item-6b8fac9d-81e9-4d4d-94ed-379be0f2be93</item-id><entry><test>item-6b8fac9d-81e9-4d4d-94ed-379be0f2be93</test></entry></data> 2020-12-16 13:49:29 | 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-6b8fac9d-81e9-4d4d-94ed-379be0f2be93</value></item-id></result> 2020-12-16 13:49:29 | [Mutex] waiting for: [published:item:notifieditem-6b8fac9d-81e9-4d4d-94ed-379be0f2be93:admin@test-domain.com] 2020-12-16 13:49:29 | [Mutex] received everything. 2020-12-16 13:49:29 | [Mutex] isItemNotified: published:item:notifieditem-6b8fac9d-81e9-4d4d-94ed-379be0f2be93:admin@test-domain.com :: true |
retractItemsFromNodes | 0.268s |
2020-12-16 13:49:30 |
2020-12-16 13:49:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:30 | ------------------------------------ 2020-12-16 13:49:30 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-55cdbc0e-5fbf-4522-a33d-132484739bf1</node><item-id>item-6b8fac9d-81e9-4d4d-94ed-379be0f2be93</item-id></data> 2020-12-16 13:49:30 | 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-6b8fac9d-81e9-4d4d-94ed-379be0f2be93</value></item-id></result> 2020-12-16 13:49:30 | [Mutex] received everything. 2020-12-16 13:49:30 | [Mutex] isItemNotified: retracted:item:notifieditem-6b8fac9d-81e9-4d4d-94ed-379be0f2be93:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.347s |
2020-12-16 13:49:29 |
2020-12-16 13:49:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:29 | ------------------------------------ 2020-12-16 13:49:29 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-55cdbc0e-5fbf-4522-a33d-132484739bf1</node><item-id>item-6b8fac9d-81e9-4d4d-94ed-379be0f2be93</item-id></data> 2020-12-16 13:49:30 | 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-55cdbc0e-5fbf-4522-a33d-132484739bf1</value></node><item-id type="text-single" label="Item ID"><value>item-6b8fac9d-81e9-4d4d-94ed-379be0f2be93</value></item-id><item type="text-multi" label="Item"><value><item id="item-6b8fac9d-81e9-4d4d-94ed-379be0f2be93"><test>item-6b8fac9d-81e9-4d4d-94ed-379be0f2be93</test></item></value></item></result> 2020-12-16 13:49:30 | [Mutex] notify: [retrieved:item:item-6b8fac9d-81e9-4d4d-94ed-379be0f2be93:payload-matches:true:localhost] 2020-12-16 13:49:30 | [Mutex] received everything. 2020-12-16 13:49:30 | [Mutex] isItemNotified: retrieved:item:item-6b8fac9d-81e9-4d4d-94ed-379be0f2be93:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-12-16 13:49:30 |
2020-12-16 13:49:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:30 | ------------------------------------ 2020-12-16 13:49:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-12-16 13:49:30 | 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-55cdbc0e-5fbf-4522-a33d-132484739bf1</value><value>node-66b519bd-92e3-4aa4-9026-799ca09d125d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-12-16 13:49:30 |
2020-12-16 13:49:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:30 | ------------------------------------ 2020-12-16 13:49:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-55cdbc0e-5fbf-4522-a33d-132484739bf1)</node-pattern></data> 2020-12-16 13:49:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.099s |
2020-12-16 13:49:28 |
2020-12-16 13:49:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:28 | ------------------------------------ 2020-12-16 13:49:28 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-55cdbc0e-5fbf-4522-a33d-132484739bf1</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-16 13:49:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.322s |
2020-12-16 13:49:30 |
2020-12-16 13:49:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-12-16 13:49:30 | ------------------------------------ 2020-12-16 13:49:30 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-55cdbc0e-5fbf-4522-a33d-132484739bf1</node><jids><value>admin@test-domain.com</value></jids></data> 2020-12-16 13:49:30 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |