Test duration : 9.599s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-06-06 22:38:01 |
2022-06-06 22:38:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:01 | ------------------------------------ 2022-06-06 22:38:01 | [Mutex] waiting for: [configured:node:node-831d320b-965b-4702-82e4-769669db6c96:node-7db80046-1c50-4690-aa90-a5a8781c332c] 2022-06-06 22:38:01 | [Mutex] received everything. 2022-06-06 22:38:01 | [Mutex] isItemNotified: configured:node:node-831d320b-965b-4702-82e4-769669db6c96:node-7db80046-1c50-4690-aa90-a5a8781c332c :: true 2022-06-06 22:38:02 | [Mutex] waiting for: [received:nodes:a9cde4dc-32d4-4784-8b97-4b778cc558ed:localhost] 2022-06-06 22:38:03 | [Mutex] received everything. 2022-06-06 22:38:03 | [Mutex] isItemNotified: received:node:a9cde4dc-32d4-4784-8b97-4b778cc558ed:localhost:node-831d320b-965b-4702-82e4-769669db6c96:Node 831d320b-965b-4702-82e4-769669db6c96 :: true 2022-06-06 22:38:03 | [Mutex] waiting for: [received:nodes:5dfb9131-eb41-45ee-871b-4e2cf3c15444:localhost] 2022-06-06 22:38:03 | [Mutex] received everything. 2022-06-06 22:38:03 | [Mutex] isItemNotified: received:node:5dfb9131-eb41-45ee-871b-4e2cf3c15444:localhost:node-831d320b-965b-4702-82e4-769669db6c96:Node 831d320b-965b-4702-82e4-769669db6c96 :: false |
createNodes | 1.414s |
2022-06-06 22:37:59 |
2022-06-06 22:37:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:37:59 | ------------------------------------ 2022-06-06 22:37:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-831d320b-965b-4702-82e4-769669db6c96</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 831d320b-965b-4702-82e4-769669db6c96</title></pubsub></data> 2022-06-06 22:37:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:38:00 | [Mutex] waiting for: [received:nodes:79be87e4-8130-4a59-af55-0f5462e065c9:localhost] 2022-06-06 22:38:00 | [Mutex] received everything. 2022-06-06 22:38:00 | [Mutex] isItemNotified: received:node:79be87e4-8130-4a59-af55-0f5462e065c9:localhost:node-831d320b-965b-4702-82e4-769669db6c96:Node 831d320b-965b-4702-82e4-769669db6c96 :: true |
createSubnodes | 1.026s |
2022-06-06 22:38:00 |
2022-06-06 22:38:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:00 | ------------------------------------ 2022-06-06 22:38:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7db80046-1c50-4690-aa90-a5a8781c332c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7db80046-1c50-4690-aa90-a5a8781c332c</title></pubsub></data> 2022-06-06 22:38:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:38:01 | [Mutex] waiting for: [received:nodes:7882aad5-9350-473e-9b8c-24942e8a2562:localhost] 2022-06-06 22:38:01 | [Mutex] waiting for: [received:nodes:7882aad5-9350-473e-9b8c-24942e8a2562:localhost] 2022-06-06 22:38:01 | [Mutex] waiting for: [received:nodes:7882aad5-9350-473e-9b8c-24942e8a2562:localhost] 2022-06-06 22:38:01 | [Mutex] received everything. 2022-06-06 22:38:01 | [Mutex] isItemNotified: received:node:7882aad5-9350-473e-9b8c-24942e8a2562:localhost:node-7db80046-1c50-4690-aa90-a5a8781c332c:Node 7db80046-1c50-4690-aa90-a5a8781c332c :: true |
deleteNodes | 1.017s |
2022-06-06 22:38:07 |
2022-06-06 22:38:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:07 | ------------------------------------ 2022-06-06 22:38:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7db80046-1c50-4690-aa90-a5a8781c332c</node></data> 2022-06-06 22:38:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:38:08 | [Mutex] waiting for: [received:nodes:23607fc1-ec7d-4384-b1aa-86278eee3fab:localhost] 2022-06-06 22:38:08 | [Mutex] waiting for: [received:nodes:23607fc1-ec7d-4384-b1aa-86278eee3fab:localhost] 2022-06-06 22:38:08 | [Mutex] received everything. 2022-06-06 22:38:08 | [Mutex] isItemNotified: received:node:23607fc1-ec7d-4384-b1aa-86278eee3fab:localhost:node-7db80046-1c50-4690-aa90-a5a8781c332c:Node 7db80046-1c50-4690-aa90-a5a8781c332c :: false |
deleteSubnodes | 1.157s |
2022-06-06 22:38:06 |
2022-06-06 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:06 | ------------------------------------ 2022-06-06 22:38:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-831d320b-965b-4702-82e4-769669db6c96</node></data> 2022-06-06 22:38:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-06 22:38:07 | [Mutex] waiting for: [received:nodes:308e92ad-eba5-4a87-b2ce-2fb5c86d2b58:localhost] 2022-06-06 22:38:07 | [Mutex] received everything. 2022-06-06 22:38:07 | [Mutex] isItemNotified: received:node:308e92ad-eba5-4a87-b2ce-2fb5c86d2b58:localhost:node-831d320b-965b-4702-82e4-769669db6c96:Node 831d320b-965b-4702-82e4-769669db6c96 :: false 2022-06-06 22:38:07 | [Mutex] waiting for: [received:nodes:181f47c3-e08f-4147-b5bf-4168286dbc55:localhost] 2022-06-06 22:38:07 | [Mutex] received everything. 2022-06-06 22:38:07 | [Mutex] isItemNotified: received:node:181f47c3-e08f-4147-b5bf-4168286dbc55:localhost:node-831d320b-965b-4702-82e4-769669db6c96:Node 831d320b-965b-4702-82e4-769669db6c96 :: false |
publishItemsToNodes | 0.217s |
2022-06-06 22:38:04 |
2022-06-06 22:38:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:04 | ------------------------------------ 2022-06-06 22:38:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-831d320b-965b-4702-82e4-769669db6c96</node><item-id>item-89281471-07ac-4953-957d-e102ed489981</item-id><entry><test>item-89281471-07ac-4953-957d-e102ed489981</test></entry></data> 2022-06-06 22:38:04 | 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-89281471-07ac-4953-957d-e102ed489981</value></item-id></result> 2022-06-06 22:38:04 | [Mutex] waiting for: [published:item:notifieditem-89281471-07ac-4953-957d-e102ed489981:admin@test-domain.com] 2022-06-06 22:38:04 | [Mutex] received everything. 2022-06-06 22:38:04 | [Mutex] isItemNotified: published:item:notifieditem-89281471-07ac-4953-957d-e102ed489981:admin@test-domain.com :: true |
retractItemsFromNodes | 0.311s |
2022-06-06 22:38:04 |
2022-06-06 22:38:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:04 | ------------------------------------ 2022-06-06 22:38:04 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-831d320b-965b-4702-82e4-769669db6c96</node><item-id>item-89281471-07ac-4953-957d-e102ed489981</item-id></data> 2022-06-06 22:38:05 | 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-89281471-07ac-4953-957d-e102ed489981</value></item-id></result> 2022-06-06 22:38:05 | [Mutex] received everything. 2022-06-06 22:38:05 | [Mutex] isItemNotified: retracted:item:notifieditem-89281471-07ac-4953-957d-e102ed489981:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.280s |
2022-06-06 22:38:04 |
2022-06-06 22:38:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:04 | ------------------------------------ 2022-06-06 22:38:04 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-831d320b-965b-4702-82e4-769669db6c96</node><item-id>item-89281471-07ac-4953-957d-e102ed489981</item-id></data> 2022-06-06 22:38:04 | 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-831d320b-965b-4702-82e4-769669db6c96</value></node><item-id type="text-single" label="Item ID"><value>item-89281471-07ac-4953-957d-e102ed489981</value></item-id><item type="text-multi" label="Item"><value><item id="item-89281471-07ac-4953-957d-e102ed489981"><test>item-89281471-07ac-4953-957d-e102ed489981</test></item></value></item></result> 2022-06-06 22:38:04 | [Mutex] notify: [retrieved:item:item-89281471-07ac-4953-957d-e102ed489981:payload-matches:true:localhost] 2022-06-06 22:38:04 | [Mutex] received everything. 2022-06-06 22:38:04 | [Mutex] isItemNotified: retrieved:item:item-89281471-07ac-4953-957d-e102ed489981:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2022-06-06 22:38:04 |
2022-06-06 22:38:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:04 | ------------------------------------ 2022-06-06 22:38:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-06 22:38:04 | 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-7db80046-1c50-4690-aa90-a5a8781c332c</value><value>node-831d320b-965b-4702-82e4-769669db6c96</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2022-06-06 22:38:04 |
2022-06-06 22:38:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:04 | ------------------------------------ 2022-06-06 22:38:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-831d320b-965b-4702-82e4-769669db6c96)</node-pattern></data> 2022-06-06 22:38:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.120s |
2022-06-06 22:38:03 |
2022-06-06 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:03 | ------------------------------------ 2022-06-06 22:38:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-831d320b-965b-4702-82e4-769669db6c96</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-06 22:38:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.239s |
2022-06-06 22:38:05 |
2022-06-06 22:38:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-06 22:38:05 | ------------------------------------ 2022-06-06 22:38:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-831d320b-965b-4702-82e4-769669db6c96</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-06 22:38:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |