Test duration : 9.471s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2023-07-09 22:30:04 |
2023-07-09 22:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:04 | ------------------------------------ 2023-07-09 22:30:04 | [Mutex] waiting for: [configured:node:node-824e0a16-85b6-4874-abae-089d8a80e7e5:node-62df5503-4117-4e44-a8cc-b4a04a6c572e] 2023-07-09 22:30:04 | [Mutex] received everything. 2023-07-09 22:30:04 | [Mutex] isItemNotified: configured:node:node-824e0a16-85b6-4874-abae-089d8a80e7e5:node-62df5503-4117-4e44-a8cc-b4a04a6c572e :: true 2023-07-09 22:30:05 | [Mutex] waiting for: [received:nodes:de7e2604-526e-41f7-9992-47b191b94100:localhost] 2023-07-09 22:30:05 | [Mutex] received everything. 2023-07-09 22:30:05 | [Mutex] isItemNotified: received:node:de7e2604-526e-41f7-9992-47b191b94100:localhost:node-824e0a16-85b6-4874-abae-089d8a80e7e5:Node 824e0a16-85b6-4874-abae-089d8a80e7e5 :: true 2023-07-09 22:30:05 | [Mutex] waiting for: [received:nodes:c47057ac-ad45-4a86-9262-22dcafd72ea1:localhost] 2023-07-09 22:30:05 | [Mutex] waiting for: [received:nodes:c47057ac-ad45-4a86-9262-22dcafd72ea1:localhost] 2023-07-09 22:30:05 | [Mutex] waiting for: [received:nodes:c47057ac-ad45-4a86-9262-22dcafd72ea1:localhost] 2023-07-09 22:30:05 | [Mutex] waiting for: [received:nodes:c47057ac-ad45-4a86-9262-22dcafd72ea1:localhost] 2023-07-09 22:30:05 | [Mutex] received everything. 2023-07-09 22:30:05 | [Mutex] isItemNotified: received:node:c47057ac-ad45-4a86-9262-22dcafd72ea1:localhost:node-824e0a16-85b6-4874-abae-089d8a80e7e5:Node 824e0a16-85b6-4874-abae-089d8a80e7e5 :: false |
createNodes | 1.399s |
2023-07-09 22:30:02 |
2023-07-09 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:02 | ------------------------------------ 2023-07-09 22:30:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-824e0a16-85b6-4874-abae-089d8a80e7e5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 824e0a16-85b6-4874-abae-089d8a80e7e5</title></pubsub></data> 2023-07-09 22:30: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-09 22:30:03 | [Mutex] waiting for: [received:nodes:205e4257-4305-45c4-840a-91d6a238e61d:localhost] 2023-07-09 22:30:03 | [Mutex] waiting for: [received:nodes:205e4257-4305-45c4-840a-91d6a238e61d:localhost] 2023-07-09 22:30:03 | [Mutex] waiting for: [received:nodes:205e4257-4305-45c4-840a-91d6a238e61d:localhost] 2023-07-09 22:30:03 | [Mutex] received everything. 2023-07-09 22:30:03 | [Mutex] isItemNotified: received:node:205e4257-4305-45c4-840a-91d6a238e61d:localhost:node-824e0a16-85b6-4874-abae-089d8a80e7e5:Node 824e0a16-85b6-4874-abae-089d8a80e7e5 :: true |
createSubnodes | 1.022s |
2023-07-09 22:30:03 |
2023-07-09 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:03 | ------------------------------------ 2023-07-09 22:30:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-62df5503-4117-4e44-a8cc-b4a04a6c572e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 62df5503-4117-4e44-a8cc-b4a04a6c572e</title></pubsub></data> 2023-07-09 22:30:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-09 22:30:04 | [Mutex] waiting for: [received:nodes:d6f2b1b3-1e57-49d9-ab7c-e20f68e9d15b:localhost] 2023-07-09 22:30:04 | [Mutex] waiting for: [received:nodes:d6f2b1b3-1e57-49d9-ab7c-e20f68e9d15b:localhost] 2023-07-09 22:30:04 | [Mutex] waiting for: [received:nodes:d6f2b1b3-1e57-49d9-ab7c-e20f68e9d15b:localhost] 2023-07-09 22:30:04 | [Mutex] waiting for: [received:nodes:d6f2b1b3-1e57-49d9-ab7c-e20f68e9d15b:localhost] 2023-07-09 22:30:04 | [Mutex] waiting for: [received:nodes:d6f2b1b3-1e57-49d9-ab7c-e20f68e9d15b:localhost] 2023-07-09 22:30:04 | [Mutex] received everything. 2023-07-09 22:30:04 | [Mutex] isItemNotified: received:node:d6f2b1b3-1e57-49d9-ab7c-e20f68e9d15b:localhost:node-62df5503-4117-4e44-a8cc-b4a04a6c572e:Node 62df5503-4117-4e44-a8cc-b4a04a6c572e :: true |
deleteNodes | 1.016s |
2023-07-09 22:30:10 |
2023-07-09 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:10 | ------------------------------------ 2023-07-09 22:30:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-62df5503-4117-4e44-a8cc-b4a04a6c572e</node></data> 2023-07-09 22:30:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-09 22:30:11 | [Mutex] waiting for: [received:nodes:69556b35-9327-46b0-bac0-f5b097eba673:localhost] 2023-07-09 22:30:11 | [Mutex] waiting for: [received:nodes:69556b35-9327-46b0-bac0-f5b097eba673:localhost] 2023-07-09 22:30:11 | [Mutex] waiting for: [received:nodes:69556b35-9327-46b0-bac0-f5b097eba673:localhost] 2023-07-09 22:30:11 | [Mutex] received everything. 2023-07-09 22:30:11 | [Mutex] isItemNotified: received:node:69556b35-9327-46b0-bac0-f5b097eba673:localhost:node-62df5503-4117-4e44-a8cc-b4a04a6c572e:Node 62df5503-4117-4e44-a8cc-b4a04a6c572e :: false |
deleteSubnodes | 1.152s |
2023-07-09 22:30:09 |
2023-07-09 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:09 | ------------------------------------ 2023-07-09 22:30:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-824e0a16-85b6-4874-abae-089d8a80e7e5</node></data> 2023-07-09 22:30: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-09 22:30:10 | [Mutex] waiting for: [received:nodes:b0ddf807-50a3-4d3b-9f89-b7cd5d06ff15:localhost] 2023-07-09 22:30:10 | [Mutex] waiting for: [received:nodes:b0ddf807-50a3-4d3b-9f89-b7cd5d06ff15:localhost] 2023-07-09 22:30:10 | [Mutex] waiting for: [received:nodes:b0ddf807-50a3-4d3b-9f89-b7cd5d06ff15:localhost] 2023-07-09 22:30:10 | [Mutex] waiting for: [received:nodes:b0ddf807-50a3-4d3b-9f89-b7cd5d06ff15:localhost] 2023-07-09 22:30:10 | [Mutex] received everything. 2023-07-09 22:30:10 | [Mutex] isItemNotified: received:node:b0ddf807-50a3-4d3b-9f89-b7cd5d06ff15:localhost:node-824e0a16-85b6-4874-abae-089d8a80e7e5:Node 824e0a16-85b6-4874-abae-089d8a80e7e5 :: false 2023-07-09 22:30:10 | [Mutex] waiting for: [received:nodes:fe1c5955-810f-4b02-9d08-12fe4f00f142:localhost] 2023-07-09 22:30:10 | [Mutex] received everything. 2023-07-09 22:30:10 | [Mutex] isItemNotified: received:node:fe1c5955-810f-4b02-9d08-12fe4f00f142:localhost:node-824e0a16-85b6-4874-abae-089d8a80e7e5:Node 824e0a16-85b6-4874-abae-089d8a80e7e5 :: false |
publishItemsToNodes | 0.242s |
2023-07-09 22:30:07 |
2023-07-09 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:07 | ------------------------------------ 2023-07-09 22:30:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-824e0a16-85b6-4874-abae-089d8a80e7e5</node><item-id>item-be63bc56-f52d-4848-a920-076cf98f5b51</item-id><entry><test>item-be63bc56-f52d-4848-a920-076cf98f5b51</test></entry></data> 2023-07-09 22:30: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-be63bc56-f52d-4848-a920-076cf98f5b51</value></item-id></result> 2023-07-09 22:30:07 | [Mutex] waiting for: [published:item:notifieditem-be63bc56-f52d-4848-a920-076cf98f5b51:admin@test-domain.com] 2023-07-09 22:30:07 | [Mutex] received everything. 2023-07-09 22:30:07 | [Mutex] isItemNotified: published:item:notifieditem-be63bc56-f52d-4848-a920-076cf98f5b51:admin@test-domain.com :: true |
retractItemsFromNodes | 0.307s |
2023-07-09 22:30:07 |
2023-07-09 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:07 | ------------------------------------ 2023-07-09 22:30:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-824e0a16-85b6-4874-abae-089d8a80e7e5</node><item-id>item-be63bc56-f52d-4848-a920-076cf98f5b51</item-id></data> 2023-07-09 22:30:07 | 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-be63bc56-f52d-4848-a920-076cf98f5b51</value></item-id></result> 2023-07-09 22:30:07 | [Mutex] received everything. 2023-07-09 22:30:07 | [Mutex] isItemNotified: retracted:item:notifieditem-be63bc56-f52d-4848-a920-076cf98f5b51:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.230s |
2023-07-09 22:30:07 |
2023-07-09 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:07 | ------------------------------------ 2023-07-09 22:30:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-824e0a16-85b6-4874-abae-089d8a80e7e5</node><item-id>item-be63bc56-f52d-4848-a920-076cf98f5b51</item-id></data> 2023-07-09 22:30: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-824e0a16-85b6-4874-abae-089d8a80e7e5</value></node><item-id type="text-single" label="Item ID"><value>item-be63bc56-f52d-4848-a920-076cf98f5b51</value></item-id><item type="text-multi" label="Item"><value><item id="item-be63bc56-f52d-4848-a920-076cf98f5b51"><test>item-be63bc56-f52d-4848-a920-076cf98f5b51</test></item></value></item></result> 2023-07-09 22:30:07 | [Mutex] notify: [retrieved:item:item-be63bc56-f52d-4848-a920-076cf98f5b51:payload-matches:true:localhost] 2023-07-09 22:30:07 | [Mutex] received everything. 2023-07-09 22:30:07 | [Mutex] isItemNotified: retrieved:item:item-be63bc56-f52d-4848-a920-076cf98f5b51:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-09 22:30:07 |
2023-07-09 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:07 | ------------------------------------ 2023-07-09 22:30:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-09 22:30:07 | 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-824e0a16-85b6-4874-abae-089d8a80e7e5</value><value>node-62df5503-4117-4e44-a8cc-b4a04a6c572e</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-07-09 22:30:07 |
2023-07-09 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:07 | ------------------------------------ 2023-07-09 22:30:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-824e0a16-85b6-4874-abae-089d8a80e7e5)</node-pattern></data> 2023-07-09 22:30:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.111s |
2023-07-09 22:30:05 |
2023-07-09 22:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:05 | ------------------------------------ 2023-07-09 22:30:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-824e0a16-85b6-4874-abae-089d8a80e7e5</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-09 22:30: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.207s |
2023-07-09 22:30:07 |
2023-07-09 22:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-09 22:30:07 | ------------------------------------ 2023-07-09 22:30:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-824e0a16-85b6-4874-abae-089d8a80e7e5</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-09 22:30:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |