Test duration : 9.494s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2023-07-07 22:31:03 |
2023-07-07 22:31:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:03 | ------------------------------------ 2023-07-07 22:31:03 | [Mutex] waiting for: [configured:node:node-0ee92b61-6da9-4389-b3d9-66d43effcbc5:node-cf0bf063-bc23-4956-9ae0-7f102f6fd64f] 2023-07-07 22:31:03 | [Mutex] received everything. 2023-07-07 22:31:03 | [Mutex] isItemNotified: configured:node:node-0ee92b61-6da9-4389-b3d9-66d43effcbc5:node-cf0bf063-bc23-4956-9ae0-7f102f6fd64f :: true 2023-07-07 22:31:04 | [Mutex] waiting for: [received:nodes:96e72b9c-b9b9-42ea-bb43-6daacdb45026:localhost] 2023-07-07 22:31:04 | [Mutex] received everything. 2023-07-07 22:31:04 | [Mutex] isItemNotified: received:node:96e72b9c-b9b9-42ea-bb43-6daacdb45026:localhost:node-0ee92b61-6da9-4389-b3d9-66d43effcbc5:Node 0ee92b61-6da9-4389-b3d9-66d43effcbc5 :: true 2023-07-07 22:31:04 | [Mutex] waiting for: [received:nodes:f06b8b35-9c2b-4ac4-b26e-3b07098c2d91:localhost] 2023-07-07 22:31:04 | [Mutex] received everything. 2023-07-07 22:31:04 | [Mutex] isItemNotified: received:node:f06b8b35-9c2b-4ac4-b26e-3b07098c2d91:localhost:node-0ee92b61-6da9-4389-b3d9-66d43effcbc5:Node 0ee92b61-6da9-4389-b3d9-66d43effcbc5 :: false |
createNodes | 1.405s |
2023-07-07 22:31:01 |
2023-07-07 22:31:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:01 | ------------------------------------ 2023-07-07 22:31:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-0ee92b61-6da9-4389-b3d9-66d43effcbc5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0ee92b61-6da9-4389-b3d9-66d43effcbc5</title></pubsub></data> 2023-07-07 22:31:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 22:31:02 | [Mutex] waiting for: [received:nodes:4cb24967-eea1-44a5-a228-5c03f0a049fd:localhost] 2023-07-07 22:31:02 | [Mutex] waiting for: [received:nodes:4cb24967-eea1-44a5-a228-5c03f0a049fd:localhost] 2023-07-07 22:31:02 | [Mutex] received everything. 2023-07-07 22:31:02 | [Mutex] isItemNotified: received:node:4cb24967-eea1-44a5-a228-5c03f0a049fd:localhost:node-0ee92b61-6da9-4389-b3d9-66d43effcbc5:Node 0ee92b61-6da9-4389-b3d9-66d43effcbc5 :: true |
createSubnodes | 1.027s |
2023-07-07 22:31:02 |
2023-07-07 22:31:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:02 | ------------------------------------ 2023-07-07 22:31:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cf0bf063-bc23-4956-9ae0-7f102f6fd64f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cf0bf063-bc23-4956-9ae0-7f102f6fd64f</title></pubsub></data> 2023-07-07 22:31:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 22:31:03 | [Mutex] waiting for: [received:nodes:8e2bb4b8-661b-4b6b-93f4-464c833a4a95:localhost] 2023-07-07 22:31:03 | [Mutex] waiting for: [received:nodes:8e2bb4b8-661b-4b6b-93f4-464c833a4a95:localhost] 2023-07-07 22:31:03 | [Mutex] waiting for: [received:nodes:8e2bb4b8-661b-4b6b-93f4-464c833a4a95:localhost] 2023-07-07 22:31:03 | [Mutex] waiting for: [received:nodes:8e2bb4b8-661b-4b6b-93f4-464c833a4a95:localhost] 2023-07-07 22:31:03 | [Mutex] received everything. 2023-07-07 22:31:03 | [Mutex] isItemNotified: received:node:8e2bb4b8-661b-4b6b-93f4-464c833a4a95:localhost:node-cf0bf063-bc23-4956-9ae0-7f102f6fd64f:Node cf0bf063-bc23-4956-9ae0-7f102f6fd64f :: true |
deleteNodes | 1.021s |
2023-07-07 22:31:09 |
2023-07-07 22:31:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:09 | ------------------------------------ 2023-07-07 22:31:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cf0bf063-bc23-4956-9ae0-7f102f6fd64f</node></data> 2023-07-07 22:31:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 22:31:10 | [Mutex] waiting for: [received:nodes:b00783a6-bd82-4f72-a266-547689138d4d:localhost] 2023-07-07 22:31:10 | [Mutex] received everything. 2023-07-07 22:31:10 | [Mutex] isItemNotified: received:node:b00783a6-bd82-4f72-a266-547689138d4d:localhost:node-cf0bf063-bc23-4956-9ae0-7f102f6fd64f:Node cf0bf063-bc23-4956-9ae0-7f102f6fd64f :: false |
deleteSubnodes | 1.116s |
2023-07-07 22:31:07 |
2023-07-07 22:31:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:07 | ------------------------------------ 2023-07-07 22:31:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-0ee92b61-6da9-4389-b3d9-66d43effcbc5</node></data> 2023-07-07 22:31:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-07 22:31:09 | [Mutex] waiting for: [received:nodes:99a0d191-ce1a-4cc0-b8de-386fd0b47faf:localhost] 2023-07-07 22:31:09 | [Mutex] waiting for: [received:nodes:99a0d191-ce1a-4cc0-b8de-386fd0b47faf:localhost] 2023-07-07 22:31:09 | [Mutex] waiting for: [received:nodes:99a0d191-ce1a-4cc0-b8de-386fd0b47faf:localhost] 2023-07-07 22:31:09 | [Mutex] waiting for: [received:nodes:99a0d191-ce1a-4cc0-b8de-386fd0b47faf:localhost] 2023-07-07 22:31:09 | [Mutex] received everything. 2023-07-07 22:31:09 | [Mutex] isItemNotified: received:node:99a0d191-ce1a-4cc0-b8de-386fd0b47faf:localhost:node-0ee92b61-6da9-4389-b3d9-66d43effcbc5:Node 0ee92b61-6da9-4389-b3d9-66d43effcbc5 :: false 2023-07-07 22:31:09 | [Mutex] waiting for: [received:nodes:fb03abc4-f334-4f99-91b1-01904df02afa:localhost] 2023-07-07 22:31:09 | [Mutex] received everything. 2023-07-07 22:31:09 | [Mutex] isItemNotified: received:node:fb03abc4-f334-4f99-91b1-01904df02afa:localhost:node-0ee92b61-6da9-4389-b3d9-66d43effcbc5:Node 0ee92b61-6da9-4389-b3d9-66d43effcbc5 :: false |
publishItemsToNodes | 0.234s |
2023-07-07 22:31:05 |
2023-07-07 22:31:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:05 | ------------------------------------ 2023-07-07 22:31:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-0ee92b61-6da9-4389-b3d9-66d43effcbc5</node><item-id>item-9691ebae-91e3-4eb2-b537-5c72e7a00f89</item-id><entry><test>item-9691ebae-91e3-4eb2-b537-5c72e7a00f89</test></entry></data> 2023-07-07 22:31:06 | 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-9691ebae-91e3-4eb2-b537-5c72e7a00f89</value></item-id></result> 2023-07-07 22:31:06 | [Mutex] received everything. 2023-07-07 22:31:06 | [Mutex] isItemNotified: published:item:notifieditem-9691ebae-91e3-4eb2-b537-5c72e7a00f89:admin@test-domain.com :: true |
retractItemsFromNodes | 0.264s |
2023-07-07 22:31:06 |
2023-07-07 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:06 | ------------------------------------ 2023-07-07 22:31:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-0ee92b61-6da9-4389-b3d9-66d43effcbc5</node><item-id>item-9691ebae-91e3-4eb2-b537-5c72e7a00f89</item-id></data> 2023-07-07 22:31:06 | 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-9691ebae-91e3-4eb2-b537-5c72e7a00f89</value></item-id></result> 2023-07-07 22:31:06 | [Mutex] received everything. 2023-07-07 22:31:06 | [Mutex] isItemNotified: retracted:item:notifieditem-9691ebae-91e3-4eb2-b537-5c72e7a00f89:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.307s |
2023-07-07 22:31:06 |
2023-07-07 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:06 | ------------------------------------ 2023-07-07 22:31:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-0ee92b61-6da9-4389-b3d9-66d43effcbc5</node><item-id>item-9691ebae-91e3-4eb2-b537-5c72e7a00f89</item-id></data> 2023-07-07 22:31:06 | 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-0ee92b61-6da9-4389-b3d9-66d43effcbc5</value></node><item-id type="text-single" label="Item ID"><value>item-9691ebae-91e3-4eb2-b537-5c72e7a00f89</value></item-id><item type="text-multi" label="Item"><value><item id="item-9691ebae-91e3-4eb2-b537-5c72e7a00f89"><test>item-9691ebae-91e3-4eb2-b537-5c72e7a00f89</test></item></value></item></result> 2023-07-07 22:31:06 | [Mutex] notify: [retrieved:item:item-9691ebae-91e3-4eb2-b537-5c72e7a00f89:payload-matches:true:localhost] 2023-07-07 22:31:06 | [Mutex] received everything. 2023-07-07 22:31:06 | [Mutex] isItemNotified: retrieved:item:item-9691ebae-91e3-4eb2-b537-5c72e7a00f89:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-07 22:31:06 |
2023-07-07 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:06 | ------------------------------------ 2023-07-07 22:31:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-07 22:31:06 | 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-cf0bf063-bc23-4956-9ae0-7f102f6fd64f</value><value>node-0ee92b61-6da9-4389-b3d9-66d43effcbc5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2023-07-07 22:31:06 |
2023-07-07 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:06 | ------------------------------------ 2023-07-07 22:31:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0ee92b61-6da9-4389-b3d9-66d43effcbc5)</node-pattern></data> 2023-07-07 22:31:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.117s |
2023-07-07 22:31:04 |
2023-07-07 22:31:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:04 | ------------------------------------ 2023-07-07 22:31:04 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-0ee92b61-6da9-4389-b3d9-66d43effcbc5</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-07 22:31:04 | 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 |
2023-07-07 22:31:06 |
2023-07-07 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-07 22:31:06 | ------------------------------------ 2023-07-07 22:31:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-0ee92b61-6da9-4389-b3d9-66d43effcbc5</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-07 22:31:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |