Test duration : 9.628s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2022-08-09 22:33:59 |
2022-08-09 22:33:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:33:59 | ------------------------------------ 2022-08-09 22:33:59 | [Mutex] waiting for: [configured:node:node-b0b1b937-0e93-4562-80f3-b45d7e53f66a:node-3a4bfe23-8b07-467f-a643-7f59b3f0d8a6] 2022-08-09 22:33:59 | [Mutex] received everything. 2022-08-09 22:33:59 | [Mutex] isItemNotified: configured:node:node-b0b1b937-0e93-4562-80f3-b45d7e53f66a:node-3a4bfe23-8b07-467f-a643-7f59b3f0d8a6 :: true 2022-08-09 22:34:00 | [Mutex] waiting for: [received:nodes:aa009d9a-39d6-47b2-8083-c2961899291a:localhost] 2022-08-09 22:34:00 | [Mutex] received everything. 2022-08-09 22:34:00 | [Mutex] isItemNotified: received:node:aa009d9a-39d6-47b2-8083-c2961899291a:localhost:node-b0b1b937-0e93-4562-80f3-b45d7e53f66a:Node b0b1b937-0e93-4562-80f3-b45d7e53f66a :: true 2022-08-09 22:34:00 | [Mutex] waiting for: [received:nodes:8de69828-77f3-4f3e-88bc-33e2b47634e8:localhost] 2022-08-09 22:34:00 | [Mutex] received everything. 2022-08-09 22:34:00 | [Mutex] isItemNotified: received:node:8de69828-77f3-4f3e-88bc-33e2b47634e8:localhost:node-b0b1b937-0e93-4562-80f3-b45d7e53f66a:Node b0b1b937-0e93-4562-80f3-b45d7e53f66a :: false |
createNodes | 1.441s |
2022-08-09 22:33:56 |
2022-08-09 22:33:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:33:56 | ------------------------------------ 2022-08-09 22:33:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b0b1b937-0e93-4562-80f3-b45d7e53f66a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node b0b1b937-0e93-4562-80f3-b45d7e53f66a</title></pubsub></data> 2022-08-09 22:33:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 22:33:58 | [Mutex] waiting for: [received:nodes:f00b591c-c61b-4153-819c-f38f953a1a50:localhost] 2022-08-09 22:33:58 | [Mutex] waiting for: [received:nodes:f00b591c-c61b-4153-819c-f38f953a1a50:localhost] 2022-08-09 22:33:58 | [Mutex] received everything. 2022-08-09 22:33:58 | [Mutex] isItemNotified: received:node:f00b591c-c61b-4153-819c-f38f953a1a50:localhost:node-b0b1b937-0e93-4562-80f3-b45d7e53f66a:Node b0b1b937-0e93-4562-80f3-b45d7e53f66a :: true |
createSubnodes | 1.024s |
2022-08-09 22:33:58 |
2022-08-09 22:33:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:33:58 | ------------------------------------ 2022-08-09 22:33:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-3a4bfe23-8b07-467f-a643-7f59b3f0d8a6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3a4bfe23-8b07-467f-a643-7f59b3f0d8a6</title></pubsub></data> 2022-08-09 22:33:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 22:33:59 | [Mutex] waiting for: [received:nodes:f5545ea8-65c4-4f47-944f-d50fbb4cda79:localhost] 2022-08-09 22:33:59 | [Mutex] received everything. 2022-08-09 22:33:59 | [Mutex] isItemNotified: received:node:f5545ea8-65c4-4f47-944f-d50fbb4cda79:localhost:node-3a4bfe23-8b07-467f-a643-7f59b3f0d8a6:Node 3a4bfe23-8b07-467f-a643-7f59b3f0d8a6 :: true |
deleteNodes | 1.017s |
2022-08-09 22:34:04 |
2022-08-09 22:34:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:04 | ------------------------------------ 2022-08-09 22:34:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-3a4bfe23-8b07-467f-a643-7f59b3f0d8a6</node></data> 2022-08-09 22:34:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 22:34:05 | [Mutex] waiting for: [received:nodes:3454991a-9812-4e6d-9cde-38782c6ce68a:localhost] 2022-08-09 22:34:05 | [Mutex] waiting for: [received:nodes:3454991a-9812-4e6d-9cde-38782c6ce68a:localhost] 2022-08-09 22:34:05 | [Mutex] received everything. 2022-08-09 22:34:05 | [Mutex] isItemNotified: received:node:3454991a-9812-4e6d-9cde-38782c6ce68a:localhost:node-3a4bfe23-8b07-467f-a643-7f59b3f0d8a6:Node 3a4bfe23-8b07-467f-a643-7f59b3f0d8a6 :: false |
deleteSubnodes | 1.163s |
2022-08-09 22:34:03 |
2022-08-09 22:34:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:03 | ------------------------------------ 2022-08-09 22:34:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b0b1b937-0e93-4562-80f3-b45d7e53f66a</node></data> 2022-08-09 22:34:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-09 22:34:04 | [Mutex] waiting for: [received:nodes:4bca82f9-9157-45e0-b66f-5ce3d56ceff6:localhost] 2022-08-09 22:34:04 | [Mutex] waiting for: [received:nodes:4bca82f9-9157-45e0-b66f-5ce3d56ceff6:localhost] 2022-08-09 22:34:04 | [Mutex] waiting for: [received:nodes:4bca82f9-9157-45e0-b66f-5ce3d56ceff6:localhost] 2022-08-09 22:34:04 | [Mutex] received everything. 2022-08-09 22:34:04 | [Mutex] isItemNotified: received:node:4bca82f9-9157-45e0-b66f-5ce3d56ceff6:localhost:node-b0b1b937-0e93-4562-80f3-b45d7e53f66a:Node b0b1b937-0e93-4562-80f3-b45d7e53f66a :: false 2022-08-09 22:34:04 | [Mutex] waiting for: [received:nodes:4e751e87-184c-4fb6-b089-5442af9e3bbd:localhost] 2022-08-09 22:34:04 | [Mutex] received everything. 2022-08-09 22:34:04 | [Mutex] isItemNotified: received:node:4e751e87-184c-4fb6-b089-5442af9e3bbd:localhost:node-b0b1b937-0e93-4562-80f3-b45d7e53f66a:Node b0b1b937-0e93-4562-80f3-b45d7e53f66a :: false |
publishItemsToNodes | 0.213s |
2022-08-09 22:34:01 |
2022-08-09 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:01 | ------------------------------------ 2022-08-09 22:34:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-b0b1b937-0e93-4562-80f3-b45d7e53f66a</node><item-id>item-42f7e2db-484c-4c50-93b4-af6001d13324</item-id><entry><test>item-42f7e2db-484c-4c50-93b4-af6001d13324</test></entry></data> 2022-08-09 22:34:01 | 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-42f7e2db-484c-4c50-93b4-af6001d13324</value></item-id></result> 2022-08-09 22:34:01 | [Mutex] waiting for: [published:item:notifieditem-42f7e2db-484c-4c50-93b4-af6001d13324:admin@test-domain.com] 2022-08-09 22:34:01 | [Mutex] received everything. 2022-08-09 22:34:01 | [Mutex] isItemNotified: published:item:notifieditem-42f7e2db-484c-4c50-93b4-af6001d13324:admin@test-domain.com :: true |
retractItemsFromNodes | 0.315s |
2022-08-09 22:34:02 |
2022-08-09 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:02 | ------------------------------------ 2022-08-09 22:34:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-b0b1b937-0e93-4562-80f3-b45d7e53f66a</node><item-id>item-42f7e2db-484c-4c50-93b4-af6001d13324</item-id></data> 2022-08-09 22:34:02 | 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-42f7e2db-484c-4c50-93b4-af6001d13324</value></item-id></result> 2022-08-09 22:34:02 | [Mutex] received everything. 2022-08-09 22:34:02 | [Mutex] isItemNotified: retracted:item:notifieditem-42f7e2db-484c-4c50-93b4-af6001d13324:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.207s |
2022-08-09 22:34:01 |
2022-08-09 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:01 | ------------------------------------ 2022-08-09 22:34:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-b0b1b937-0e93-4562-80f3-b45d7e53f66a</node><item-id>item-42f7e2db-484c-4c50-93b4-af6001d13324</item-id></data> 2022-08-09 22:34:01 | 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-b0b1b937-0e93-4562-80f3-b45d7e53f66a</value></node><item-id type="text-single" label="Item ID"><value>item-42f7e2db-484c-4c50-93b4-af6001d13324</value></item-id><item type="text-multi" label="Item"><value><item id="item-42f7e2db-484c-4c50-93b4-af6001d13324"><test>item-42f7e2db-484c-4c50-93b4-af6001d13324</test></item></value></item></result> 2022-08-09 22:34:01 | [Mutex] notify: [retrieved:item:item-42f7e2db-484c-4c50-93b4-af6001d13324:payload-matches:true:localhost] 2022-08-09 22:34:01 | [Mutex] received everything. 2022-08-09 22:34:01 | [Mutex] isItemNotified: retrieved:item:item-42f7e2db-484c-4c50-93b4-af6001d13324:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-09 22:34:01 |
2022-08-09 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:01 | ------------------------------------ 2022-08-09 22:34:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-09 22:34:01 | 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-3a4bfe23-8b07-467f-a643-7f59b3f0d8a6</value><value>node-b0b1b937-0e93-4562-80f3-b45d7e53f66a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-08-09 22:34:01 |
2022-08-09 22:34:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:01 | ------------------------------------ 2022-08-09 22:34:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-b0b1b937-0e93-4562-80f3-b45d7e53f66a)</node-pattern></data> 2022-08-09 22:34:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.158s |
2022-08-09 22:34:00 |
2022-08-09 22:34:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:00 | ------------------------------------ 2022-08-09 22:34:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-b0b1b937-0e93-4562-80f3-b45d7e53f66a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-09 22:34:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.221s |
2022-08-09 22:34:02 |
2022-08-09 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-09 22:34:02 | ------------------------------------ 2022-08-09 22:34:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-b0b1b937-0e93-4562-80f3-b45d7e53f66a</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-09 22:34:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |