Test duration : 9.698s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.086s |
2022-07-09 22:45:05 |
2022-07-09 22:45:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:05 | ------------------------------------ 2022-07-09 22:45:05 | [Mutex] waiting for: [configured:node:node-f24d5598-276e-41ec-bc8b-2ab02cb5a484:node-1e9e1e7a-fc86-48f2-a3a0-75d0efab019b] 2022-07-09 22:45:05 | [Mutex] received everything. 2022-07-09 22:45:05 | [Mutex] isItemNotified: configured:node:node-f24d5598-276e-41ec-bc8b-2ab02cb5a484:node-1e9e1e7a-fc86-48f2-a3a0-75d0efab019b :: true 2022-07-09 22:45:06 | [Mutex] waiting for: [received:nodes:9426af4d-eb2c-40b3-9e0a-bcb4429435ec:localhost] 2022-07-09 22:45:06 | [Mutex] received everything. 2022-07-09 22:45:06 | [Mutex] isItemNotified: received:node:9426af4d-eb2c-40b3-9e0a-bcb4429435ec:localhost:node-f24d5598-276e-41ec-bc8b-2ab02cb5a484:Node f24d5598-276e-41ec-bc8b-2ab02cb5a484 :: true 2022-07-09 22:45:06 | [Mutex] waiting for: [received:nodes:1b2e28ca-9675-4a93-8ae7-85c900d51035:localhost] 2022-07-09 22:45:06 | [Mutex] waiting for: [received:nodes:1b2e28ca-9675-4a93-8ae7-85c900d51035:localhost] 2022-07-09 22:45:06 | [Mutex] received everything. 2022-07-09 22:45:06 | [Mutex] isItemNotified: received:node:1b2e28ca-9675-4a93-8ae7-85c900d51035:localhost:node-f24d5598-276e-41ec-bc8b-2ab02cb5a484:Node f24d5598-276e-41ec-bc8b-2ab02cb5a484 :: false |
createNodes | 1.457s |
2022-07-09 22:45:02 |
2022-07-09 22:45:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:02 | ------------------------------------ 2022-07-09 22:45:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f24d5598-276e-41ec-bc8b-2ab02cb5a484</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f24d5598-276e-41ec-bc8b-2ab02cb5a484</title></pubsub></data> 2022-07-09 22:45:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-09 22:45:04 | [Mutex] waiting for: [received:nodes:8b31b3a5-6bb9-4b8b-abc7-b0914d764929:localhost] 2022-07-09 22:45:04 | [Mutex] received everything. 2022-07-09 22:45:04 | [Mutex] isItemNotified: received:node:8b31b3a5-6bb9-4b8b-abc7-b0914d764929:localhost:node-f24d5598-276e-41ec-bc8b-2ab02cb5a484:Node f24d5598-276e-41ec-bc8b-2ab02cb5a484 :: true |
createSubnodes | 1.030s |
2022-07-09 22:45:04 |
2022-07-09 22:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:04 | ------------------------------------ 2022-07-09 22:45:04 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1e9e1e7a-fc86-48f2-a3a0-75d0efab019b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1e9e1e7a-fc86-48f2-a3a0-75d0efab019b</title></pubsub></data> 2022-07-09 22:45:04 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-09 22:45:05 | [Mutex] waiting for: [received:nodes:ee717488-740c-459a-b0c7-731caaa22ee5:localhost] 2022-07-09 22:45:05 | [Mutex] received everything. 2022-07-09 22:45:05 | [Mutex] isItemNotified: received:node:ee717488-740c-459a-b0c7-731caaa22ee5:localhost:node-1e9e1e7a-fc86-48f2-a3a0-75d0efab019b:Node 1e9e1e7a-fc86-48f2-a3a0-75d0efab019b :: true |
deleteNodes | 1.024s |
2022-07-09 22:45:10 |
2022-07-09 22:45:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:10 | ------------------------------------ 2022-07-09 22:45:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1e9e1e7a-fc86-48f2-a3a0-75d0efab019b</node></data> 2022-07-09 22:45:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-09 22:45:11 | [Mutex] waiting for: [received:nodes:6db1eed3-0e0f-494c-bdfb-8b59eb29ffa1:localhost] 2022-07-09 22:45:11 | [Mutex] received everything. 2022-07-09 22:45:11 | [Mutex] isItemNotified: received:node:6db1eed3-0e0f-494c-bdfb-8b59eb29ffa1:localhost:node-1e9e1e7a-fc86-48f2-a3a0-75d0efab019b:Node 1e9e1e7a-fc86-48f2-a3a0-75d0efab019b :: false |
deleteSubnodes | 1.122s |
2022-07-09 22:45:09 |
2022-07-09 22:45:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:09 | ------------------------------------ 2022-07-09 22:45:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f24d5598-276e-41ec-bc8b-2ab02cb5a484</node></data> 2022-07-09 22:45:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-07-09 22:45:10 | [Mutex] waiting for: [received:nodes:cf28bd72-2e71-42fc-b6a7-5a5c7bf051ad:localhost] 2022-07-09 22:45:10 | [Mutex] received everything. 2022-07-09 22:45:10 | [Mutex] isItemNotified: received:node:cf28bd72-2e71-42fc-b6a7-5a5c7bf051ad:localhost:node-f24d5598-276e-41ec-bc8b-2ab02cb5a484:Node f24d5598-276e-41ec-bc8b-2ab02cb5a484 :: false 2022-07-09 22:45:10 | [Mutex] waiting for: [received:nodes:0b399a5b-b171-4a99-993d-b2919d1cb0ac:localhost] 2022-07-09 22:45:10 | [Mutex] received everything. 2022-07-09 22:45:10 | [Mutex] isItemNotified: received:node:0b399a5b-b171-4a99-993d-b2919d1cb0ac:localhost:node-f24d5598-276e-41ec-bc8b-2ab02cb5a484:Node f24d5598-276e-41ec-bc8b-2ab02cb5a484 :: false |
publishItemsToNodes | 0.218s |
2022-07-09 22:45:07 |
2022-07-09 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:07 | ------------------------------------ 2022-07-09 22:45:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f24d5598-276e-41ec-bc8b-2ab02cb5a484</node><item-id>item-00365151-5e64-48e3-969b-c9b75c7f4fdb</item-id><entry><test>item-00365151-5e64-48e3-969b-c9b75c7f4fdb</test></entry></data> 2022-07-09 22:45:07 | 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-00365151-5e64-48e3-969b-c9b75c7f4fdb</value></item-id></result> 2022-07-09 22:45:07 | [Mutex] waiting for: [published:item:notifieditem-00365151-5e64-48e3-969b-c9b75c7f4fdb:admin@test-domain.com] 2022-07-09 22:45:07 | [Mutex] received everything. 2022-07-09 22:45:07 | [Mutex] isItemNotified: published:item:notifieditem-00365151-5e64-48e3-969b-c9b75c7f4fdb:admin@test-domain.com :: true |
retractItemsFromNodes | 0.239s |
2022-07-09 22:45:08 |
2022-07-09 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:08 | ------------------------------------ 2022-07-09 22:45:08 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f24d5598-276e-41ec-bc8b-2ab02cb5a484</node><item-id>item-00365151-5e64-48e3-969b-c9b75c7f4fdb</item-id></data> 2022-07-09 22:45:08 | 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-00365151-5e64-48e3-969b-c9b75c7f4fdb</value></item-id></result> 2022-07-09 22:45:08 | [Mutex] received everything. 2022-07-09 22:45:08 | [Mutex] isItemNotified: retracted:item:notifieditem-00365151-5e64-48e3-969b-c9b75c7f4fdb:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.267s |
2022-07-09 22:45:07 |
2022-07-09 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:07 | ------------------------------------ 2022-07-09 22:45:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f24d5598-276e-41ec-bc8b-2ab02cb5a484</node><item-id>item-00365151-5e64-48e3-969b-c9b75c7f4fdb</item-id></data> 2022-07-09 22:45:07 | 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-f24d5598-276e-41ec-bc8b-2ab02cb5a484</value></node><item-id type="text-single" label="Item ID"><value>item-00365151-5e64-48e3-969b-c9b75c7f4fdb</value></item-id><item type="text-multi" label="Item"><value><item id="item-00365151-5e64-48e3-969b-c9b75c7f4fdb"><test>item-00365151-5e64-48e3-969b-c9b75c7f4fdb</test></item></value></item></result> 2022-07-09 22:45:07 | [Mutex] notify: [retrieved:item:item-00365151-5e64-48e3-969b-c9b75c7f4fdb:payload-matches:true:localhost] 2022-07-09 22:45:07 | [Mutex] received everything. 2022-07-09 22:45:07 | [Mutex] isItemNotified: retrieved:item:item-00365151-5e64-48e3-969b-c9b75c7f4fdb:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-07-09 22:45:07 |
2022-07-09 22:45:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:07 | ------------------------------------ 2022-07-09 22:45:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-07-09 22:45:08 | 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-1e9e1e7a-fc86-48f2-a3a0-75d0efab019b</value><value>node-f24d5598-276e-41ec-bc8b-2ab02cb5a484</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-07-09 22:45:08 |
2022-07-09 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:08 | ------------------------------------ 2022-07-09 22:45:08 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f24d5598-276e-41ec-bc8b-2ab02cb5a484)</node-pattern></data> 2022-07-09 22:45:08 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.160s |
2022-07-09 22:45:06 |
2022-07-09 22:45:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:06 | ------------------------------------ 2022-07-09 22:45:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f24d5598-276e-41ec-bc8b-2ab02cb5a484</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-09 22:45:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2022-07-09 22:45:08 |
2022-07-09 22:45:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-07-09 22:45:08 | ------------------------------------ 2022-07-09 22:45:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f24d5598-276e-41ec-bc8b-2ab02cb5a484</node><jids><value>admin@test-domain.com</value></jids></data> 2022-07-09 22:45:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |