Test duration : 10.781s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.128s |
2021-12-06 21:43:54 |
2021-12-06 21:43:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:54 | ------------------------------------ 2021-12-06 21:43:54 | [Mutex] waiting for: [configured:node:node-e9772603-b2fc-4079-b3de-271ca891ef74:node-a4568435-ba3a-46b3-8739-ee6d67d2c341] 2021-12-06 21:43:54 | [Mutex] received everything. 2021-12-06 21:43:54 | [Mutex] isItemNotified: configured:node:node-e9772603-b2fc-4079-b3de-271ca891ef74:node-a4568435-ba3a-46b3-8739-ee6d67d2c341 :: true 2021-12-06 21:43:55 | [Mutex] waiting for: [received:nodes:3aa775d7-652e-4764-899f-d6f85bd27ab8:localhost] 2021-12-06 21:43:55 | [Mutex] received everything. 2021-12-06 21:43:55 | [Mutex] isItemNotified: received:node:3aa775d7-652e-4764-899f-d6f85bd27ab8:localhost:node-e9772603-b2fc-4079-b3de-271ca891ef74:Node e9772603-b2fc-4079-b3de-271ca891ef74 :: true 2021-12-06 21:43:55 | [Mutex] waiting for: [received:nodes:21da53fb-1660-41b5-ab53-ee855ce45cfc:localhost] 2021-12-06 21:43:55 | [Mutex] waiting for: [received:nodes:21da53fb-1660-41b5-ab53-ee855ce45cfc:localhost] 2021-12-06 21:43:55 | [Mutex] waiting for: [received:nodes:21da53fb-1660-41b5-ab53-ee855ce45cfc:localhost] 2021-12-06 21:43:55 | [Mutex] received everything. 2021-12-06 21:43:55 | [Mutex] isItemNotified: received:node:21da53fb-1660-41b5-ab53-ee855ce45cfc:localhost:node-e9772603-b2fc-4079-b3de-271ca891ef74:Node e9772603-b2fc-4079-b3de-271ca891ef74 :: false |
createNodes | 1.642s |
2021-12-06 21:43:52 |
2021-12-06 21:43:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:52 | ------------------------------------ 2021-12-06 21:43:52 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e9772603-b2fc-4079-b3de-271ca891ef74</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e9772603-b2fc-4079-b3de-271ca891ef74</title></pubsub></data> 2021-12-06 21:43:52 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 21:43:53 | [Mutex] waiting for: [received:nodes:bf7f3a93-5a4a-4f42-bda5-e222dda9ccf9:localhost] 2021-12-06 21:43:53 | [Mutex] received everything. 2021-12-06 21:43:53 | [Mutex] isItemNotified: received:node:bf7f3a93-5a4a-4f42-bda5-e222dda9ccf9:localhost:node-e9772603-b2fc-4079-b3de-271ca891ef74:Node e9772603-b2fc-4079-b3de-271ca891ef74 :: true |
createSubnodes | 1.032s |
2021-12-06 21:43:53 |
2021-12-06 21:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:53 | ------------------------------------ 2021-12-06 21:43:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a4568435-ba3a-46b3-8739-ee6d67d2c341</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a4568435-ba3a-46b3-8739-ee6d67d2c341</title></pubsub></data> 2021-12-06 21:43:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 21:43:54 | [Mutex] waiting for: [received:nodes:5bfd67d9-03fc-47da-a05c-355ca5fc7274:localhost] 2021-12-06 21:43:54 | [Mutex] received everything. 2021-12-06 21:43:54 | [Mutex] isItemNotified: received:node:5bfd67d9-03fc-47da-a05c-355ca5fc7274:localhost:node-a4568435-ba3a-46b3-8739-ee6d67d2c341:Node a4568435-ba3a-46b3-8739-ee6d67d2c341 :: true |
deleteNodes | 1.064s |
2021-12-06 21:44:00 |
2021-12-06 21:44:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:44:00 | ------------------------------------ 2021-12-06 21:44:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a4568435-ba3a-46b3-8739-ee6d67d2c341</node></data> 2021-12-06 21:44:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 21:44:01 | [Mutex] waiting for: [received:nodes:29e57ead-633d-48fd-93f9-fe1bd7fadc8c:localhost] 2021-12-06 21:44:01 | [Mutex] received everything. 2021-12-06 21:44:01 | [Mutex] isItemNotified: received:node:29e57ead-633d-48fd-93f9-fe1bd7fadc8c:localhost:node-a4568435-ba3a-46b3-8739-ee6d67d2c341:Node a4568435-ba3a-46b3-8739-ee6d67d2c341 :: false |
deleteSubnodes | 1.154s |
2021-12-06 21:43:59 |
2021-12-06 21:43:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:59 | ------------------------------------ 2021-12-06 21:43:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e9772603-b2fc-4079-b3de-271ca891ef74</node></data> 2021-12-06 21:43:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-12-06 21:44:00 | [Mutex] waiting for: [received:nodes:2643408c-67d9-450f-877c-1706a11b674b:localhost] 2021-12-06 21:44:00 | [Mutex] received everything. 2021-12-06 21:44:00 | [Mutex] isItemNotified: received:node:2643408c-67d9-450f-877c-1706a11b674b:localhost:node-e9772603-b2fc-4079-b3de-271ca891ef74:Node e9772603-b2fc-4079-b3de-271ca891ef74 :: false 2021-12-06 21:44:00 | [Mutex] waiting for: [received:nodes:414701c8-8ca1-4a24-918a-f7af4c893aed:localhost] 2021-12-06 21:44:00 | [Mutex] received everything. 2021-12-06 21:44:00 | [Mutex] isItemNotified: received:node:414701c8-8ca1-4a24-918a-f7af4c893aed:localhost:node-e9772603-b2fc-4079-b3de-271ca891ef74:Node e9772603-b2fc-4079-b3de-271ca891ef74 :: false |
publishItemsToNodes | 0.349s |
2021-12-06 21:43:57 |
2021-12-06 21:43:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:57 | ------------------------------------ 2021-12-06 21:43:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e9772603-b2fc-4079-b3de-271ca891ef74</node><item-id>item-55f4c668-a8c2-4eec-9df1-c3899f732c3f</item-id><entry><test>item-55f4c668-a8c2-4eec-9df1-c3899f732c3f</test></entry></data> 2021-12-06 21:43:57 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-55f4c668-a8c2-4eec-9df1-c3899f732c3f</value></item-id></result> 2021-12-06 21:43:57 | [Mutex] received everything. 2021-12-06 21:43:57 | [Mutex] isItemNotified: published:item:notifieditem-55f4c668-a8c2-4eec-9df1-c3899f732c3f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.379s |
2021-12-06 21:43:57 |
2021-12-06 21:43:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:57 | ------------------------------------ 2021-12-06 21:43:57 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e9772603-b2fc-4079-b3de-271ca891ef74</node><item-id>item-55f4c668-a8c2-4eec-9df1-c3899f732c3f</item-id></data> 2021-12-06 21:43:58 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-55f4c668-a8c2-4eec-9df1-c3899f732c3f</value></item-id></result> 2021-12-06 21:43:58 | [Mutex] received everything. 2021-12-06 21:43:58 | [Mutex] isItemNotified: retracted:item:notifieditem-55f4c668-a8c2-4eec-9df1-c3899f732c3f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.356s |
2021-12-06 21:43:57 |
2021-12-06 21:43:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:57 | ------------------------------------ 2021-12-06 21:43:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e9772603-b2fc-4079-b3de-271ca891ef74</node><item-id>item-55f4c668-a8c2-4eec-9df1-c3899f732c3f</item-id></data> 2021-12-06 21:43:57 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-e9772603-b2fc-4079-b3de-271ca891ef74</value></node><item-id label="Item ID" type="text-single"><value>item-55f4c668-a8c2-4eec-9df1-c3899f732c3f</value></item-id><item label="Item" type="text-multi"><value><item id="item-55f4c668-a8c2-4eec-9df1-c3899f732c3f"><test>item-55f4c668-a8c2-4eec-9df1-c3899f732c3f</test></item></value></item></result> 2021-12-06 21:43:57 | [Mutex] notify: [retrieved:item:item-55f4c668-a8c2-4eec-9df1-c3899f732c3f:payload-matches:true:localhost] 2021-12-06 21:43:57 | [Mutex] received everything. 2021-12-06 21:43:57 | [Mutex] isItemNotified: retrieved:item:item-55f4c668-a8c2-4eec-9df1-c3899f732c3f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-12-06 21:43:57 |
2021-12-06 21:43:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:57 | ------------------------------------ 2021-12-06 21:43:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-12-06 21:43:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-a4568435-ba3a-46b3-8739-ee6d67d2c341</value><value>node-e9772603-b2fc-4079-b3de-271ca891ef74</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2021-12-06 21:43:57 |
2021-12-06 21:43:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:57 | ------------------------------------ 2021-12-06 21:43:57 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e9772603-b2fc-4079-b3de-271ca891ef74)</node-pattern></data> 2021-12-06 21:43:57 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.220s |
2021-12-06 21:43:55 |
2021-12-06 21:43:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:55 | ------------------------------------ 2021-12-06 21:43:55 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e9772603-b2fc-4079-b3de-271ca891ef74</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-06 21:43:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.204s |
2021-12-06 21:43:58 |
2021-12-06 21:43:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-12-06 21:43:58 | ------------------------------------ 2021-12-06 21:43:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e9772603-b2fc-4079-b3de-271ca891ef74</node><jids><value>admin@test-domain.com</value></jids></data> 2021-12-06 21:43:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |