Test duration : 9.497s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2022-08-13 22:33:04 |
2022-08-13 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:04 | ------------------------------------ 2022-08-13 22:33:04 | [Mutex] waiting for: [configured:node:node-8905eac9-ea47-4f39-96d8-9abef69263c8:node-7394fe5c-ee61-4916-9c6b-15cf53fef124] 2022-08-13 22:33:04 | [Mutex] received everything. 2022-08-13 22:33:04 | [Mutex] isItemNotified: configured:node:node-8905eac9-ea47-4f39-96d8-9abef69263c8:node-7394fe5c-ee61-4916-9c6b-15cf53fef124 :: true 2022-08-13 22:33:05 | [Mutex] waiting for: [received:nodes:b66b79ff-c30b-4ca2-9415-7ae01a75ed54:localhost] 2022-08-13 22:33:05 | [Mutex] received everything. 2022-08-13 22:33:05 | [Mutex] isItemNotified: received:node:b66b79ff-c30b-4ca2-9415-7ae01a75ed54:localhost:node-8905eac9-ea47-4f39-96d8-9abef69263c8:Node 8905eac9-ea47-4f39-96d8-9abef69263c8 :: true 2022-08-13 22:33:05 | [Mutex] waiting for: [received:nodes:394eae8c-b2d7-43cd-b3a3-03c80af6b46b:localhost] 2022-08-13 22:33:05 | [Mutex] received everything. 2022-08-13 22:33:05 | [Mutex] isItemNotified: received:node:394eae8c-b2d7-43cd-b3a3-03c80af6b46b:localhost:node-8905eac9-ea47-4f39-96d8-9abef69263c8:Node 8905eac9-ea47-4f39-96d8-9abef69263c8 :: false |
createNodes | 1.518s |
2022-08-13 22:33:01 |
2022-08-13 22:33:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:01 | ------------------------------------ 2022-08-13 22:33:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8905eac9-ea47-4f39-96d8-9abef69263c8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8905eac9-ea47-4f39-96d8-9abef69263c8</title></pubsub></data> 2022-08-13 22:33:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-13 22:33:03 | [Mutex] waiting for: [received:nodes:1b4ca093-746d-4829-8ac1-484e8231d257:localhost] 2022-08-13 22:33:03 | [Mutex] received everything. 2022-08-13 22:33:03 | [Mutex] isItemNotified: received:node:1b4ca093-746d-4829-8ac1-484e8231d257:localhost:node-8905eac9-ea47-4f39-96d8-9abef69263c8:Node 8905eac9-ea47-4f39-96d8-9abef69263c8 :: true |
createSubnodes | 1.021s |
2022-08-13 22:33:03 |
2022-08-13 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:03 | ------------------------------------ 2022-08-13 22:33:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-7394fe5c-ee61-4916-9c6b-15cf53fef124</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 7394fe5c-ee61-4916-9c6b-15cf53fef124</title></pubsub></data> 2022-08-13 22:33:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-13 22:33:04 | [Mutex] waiting for: [received:nodes:f4a978ba-842d-44a8-9a8b-e459263ecfb3:localhost] 2022-08-13 22:33:04 | [Mutex] received everything. 2022-08-13 22:33:04 | [Mutex] isItemNotified: received:node:f4a978ba-842d-44a8-9a8b-e459263ecfb3:localhost:node-7394fe5c-ee61-4916-9c6b-15cf53fef124:Node 7394fe5c-ee61-4916-9c6b-15cf53fef124 :: true |
deleteNodes | 1.017s |
2022-08-13 22:33:09 |
2022-08-13 22:33:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:09 | ------------------------------------ 2022-08-13 22:33:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-7394fe5c-ee61-4916-9c6b-15cf53fef124</node></data> 2022-08-13 22:33:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-13 22:33:10 | [Mutex] waiting for: [received:nodes:e2541d24-148d-4419-a351-099210fb9799:localhost] 2022-08-13 22:33:10 | [Mutex] received everything. 2022-08-13 22:33:10 | [Mutex] isItemNotified: received:node:e2541d24-148d-4419-a351-099210fb9799:localhost:node-7394fe5c-ee61-4916-9c6b-15cf53fef124:Node 7394fe5c-ee61-4916-9c6b-15cf53fef124 :: false |
deleteSubnodes | 1.139s |
2022-08-13 22:33:08 |
2022-08-13 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:08 | ------------------------------------ 2022-08-13 22:33:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8905eac9-ea47-4f39-96d8-9abef69263c8</node></data> 2022-08-13 22:33:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-13 22:33:09 | [Mutex] waiting for: [received:nodes:39d05939-86b3-4c54-b713-0fb0b54afdce:localhost] 2022-08-13 22:33:09 | [Mutex] waiting for: [received:nodes:39d05939-86b3-4c54-b713-0fb0b54afdce:localhost] 2022-08-13 22:33:09 | [Mutex] waiting for: [received:nodes:39d05939-86b3-4c54-b713-0fb0b54afdce:localhost] 2022-08-13 22:33:09 | [Mutex] waiting for: [received:nodes:39d05939-86b3-4c54-b713-0fb0b54afdce:localhost] 2022-08-13 22:33:09 | [Mutex] received everything. 2022-08-13 22:33:09 | [Mutex] isItemNotified: received:node:39d05939-86b3-4c54-b713-0fb0b54afdce:localhost:node-8905eac9-ea47-4f39-96d8-9abef69263c8:Node 8905eac9-ea47-4f39-96d8-9abef69263c8 :: false 2022-08-13 22:33:09 | [Mutex] waiting for: [received:nodes:97cbb437-0c49-43f2-bb0b-ef9a86edd6f9:localhost] 2022-08-13 22:33:09 | [Mutex] received everything. 2022-08-13 22:33:09 | [Mutex] isItemNotified: received:node:97cbb437-0c49-43f2-bb0b-ef9a86edd6f9:localhost:node-8905eac9-ea47-4f39-96d8-9abef69263c8:Node 8905eac9-ea47-4f39-96d8-9abef69263c8 :: false |
publishItemsToNodes | 0.204s |
2022-08-13 22:33:06 |
2022-08-13 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:06 | ------------------------------------ 2022-08-13 22:33:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-8905eac9-ea47-4f39-96d8-9abef69263c8</node><item-id>item-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0</item-id><entry><test>item-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0</test></entry></data> 2022-08-13 22:33: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-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0</value></item-id></result> 2022-08-13 22:33:06 | [Mutex] waiting for: [published:item:notifieditem-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0:admin@test-domain.com] 2022-08-13 22:33:06 | [Mutex] received everything. 2022-08-13 22:33:06 | [Mutex] isItemNotified: published:item:notifieditem-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2022-08-13 22:33:06 |
2022-08-13 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:06 | ------------------------------------ 2022-08-13 22:33:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-8905eac9-ea47-4f39-96d8-9abef69263c8</node><item-id>item-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0</item-id></data> 2022-08-13 22:33: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-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0</value></item-id></result> 2022-08-13 22:33:07 | [Mutex] received everything. 2022-08-13 22:33:07 | [Mutex] isItemNotified: retracted:item:notifieditem-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.211s |
2022-08-13 22:33:06 |
2022-08-13 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:06 | ------------------------------------ 2022-08-13 22:33:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-8905eac9-ea47-4f39-96d8-9abef69263c8</node><item-id>item-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0</item-id></data> 2022-08-13 22:33: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-8905eac9-ea47-4f39-96d8-9abef69263c8</value></node><item-id type="text-single" label="Item ID"><value>item-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0</value></item-id><item type="text-multi" label="Item"><value><item id="item-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0"><test>item-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0</test></item></value></item></result> 2022-08-13 22:33:06 | [Mutex] notify: [retrieved:item:item-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0:payload-matches:true:localhost] 2022-08-13 22:33:06 | [Mutex] received everything. 2022-08-13 22:33:06 | [Mutex] isItemNotified: retrieved:item:item-a63d5f8e-fa9c-4a2d-8e89-4f15a2aee6f0:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-13 22:33:06 |
2022-08-13 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:06 | ------------------------------------ 2022-08-13 22:33:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-13 22:33:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-7394fe5c-ee61-4916-9c6b-15cf53fef124</value><value>test</value><value>node-8905eac9-ea47-4f39-96d8-9abef69263c8</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-13 22:33:06 |
2022-08-13 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:06 | ------------------------------------ 2022-08-13 22:33: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-8905eac9-ea47-4f39-96d8-9abef69263c8)</node-pattern></data> 2022-08-13 22:33:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.121s |
2022-08-13 22:33:05 |
2022-08-13 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:05 | ------------------------------------ 2022-08-13 22:33:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-8905eac9-ea47-4f39-96d8-9abef69263c8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-13 22:33:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.155s |
2022-08-13 22:33:07 |
2022-08-13 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-13 22:33:07 | ------------------------------------ 2022-08-13 22:33:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-8905eac9-ea47-4f39-96d8-9abef69263c8</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-13 22:33:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |