Test duration : 10.210s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.100s |
2021-10-07 22:35:32 |
2021-10-07 22:35:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:32 | ------------------------------------ 2021-10-07 22:35:32 | [Mutex] waiting for: [configured:node:node-145cab86-fff3-4435-82a4-0f439f3ffffe:node-a1785e91-12a3-4efb-839a-b753239daac6] 2021-10-07 22:35:32 | [Mutex] received everything. 2021-10-07 22:35:32 | [Mutex] isItemNotified: configured:node:node-145cab86-fff3-4435-82a4-0f439f3ffffe:node-a1785e91-12a3-4efb-839a-b753239daac6 :: true 2021-10-07 22:35:33 | [Mutex] waiting for: [received:nodes:b9a471df-0b65-4cd9-8d61-1965a101fabf:localhost] 2021-10-07 22:35:33 | [Mutex] received everything. 2021-10-07 22:35:33 | [Mutex] isItemNotified: received:node:b9a471df-0b65-4cd9-8d61-1965a101fabf:localhost:node-145cab86-fff3-4435-82a4-0f439f3ffffe:Node 145cab86-fff3-4435-82a4-0f439f3ffffe :: true 2021-10-07 22:35:33 | [Mutex] waiting for: [received:nodes:6ab2f10f-a940-4931-bf75-57e338994059:localhost] 2021-10-07 22:35:33 | [Mutex] waiting for: [received:nodes:6ab2f10f-a940-4931-bf75-57e338994059:localhost] 2021-10-07 22:35:33 | [Mutex] waiting for: [received:nodes:6ab2f10f-a940-4931-bf75-57e338994059:localhost] 2021-10-07 22:35:33 | [Mutex] received everything. 2021-10-07 22:35:33 | [Mutex] isItemNotified: received:node:6ab2f10f-a940-4931-bf75-57e338994059:localhost:node-145cab86-fff3-4435-82a4-0f439f3ffffe:Node 145cab86-fff3-4435-82a4-0f439f3ffffe :: false |
createNodes | 1.543s |
2021-10-07 22:35:30 |
2021-10-07 22:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:30 | ------------------------------------ 2021-10-07 22:35:30 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-145cab86-fff3-4435-82a4-0f439f3ffffe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 145cab86-fff3-4435-82a4-0f439f3ffffe</title></pubsub></data> 2021-10-07 22:35:30 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-07 22:35:31 | [Mutex] waiting for: [received:nodes:590d43c4-de9c-4704-9848-5a3b7f622401:localhost] 2021-10-07 22:35:31 | [Mutex] received everything. 2021-10-07 22:35:31 | [Mutex] isItemNotified: received:node:590d43c4-de9c-4704-9848-5a3b7f622401:localhost:node-145cab86-fff3-4435-82a4-0f439f3ffffe:Node 145cab86-fff3-4435-82a4-0f439f3ffffe :: true |
createSubnodes | 1.032s |
2021-10-07 22:35:31 |
2021-10-07 22:35:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:31 | ------------------------------------ 2021-10-07 22:35:31 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a1785e91-12a3-4efb-839a-b753239daac6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a1785e91-12a3-4efb-839a-b753239daac6</title></pubsub></data> 2021-10-07 22:35:31 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-07 22:35:32 | [Mutex] waiting for: [received:nodes:caa4d7f5-8bf4-448b-b0ac-7b829ded9a7f:localhost] 2021-10-07 22:35:32 | [Mutex] received everything. 2021-10-07 22:35:32 | [Mutex] isItemNotified: received:node:caa4d7f5-8bf4-448b-b0ac-7b829ded9a7f:localhost:node-a1785e91-12a3-4efb-839a-b753239daac6:Node a1785e91-12a3-4efb-839a-b753239daac6 :: true |
deleteNodes | 1.023s |
2021-10-07 22:35:38 |
2021-10-07 22:35:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:38 | ------------------------------------ 2021-10-07 22:35:38 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a1785e91-12a3-4efb-839a-b753239daac6</node></data> 2021-10-07 22:35:38 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-07 22:35:39 | [Mutex] waiting for: [received:nodes:01e2cf13-7283-420b-b67f-f1065cd3b658:localhost] 2021-10-07 22:35:39 | [Mutex] received everything. 2021-10-07 22:35:39 | [Mutex] isItemNotified: received:node:01e2cf13-7283-420b-b67f-f1065cd3b658:localhost:node-a1785e91-12a3-4efb-839a-b753239daac6:Node a1785e91-12a3-4efb-839a-b753239daac6 :: false |
deleteSubnodes | 1.185s |
2021-10-07 22:35:37 |
2021-10-07 22:35:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:37 | ------------------------------------ 2021-10-07 22:35:37 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-145cab86-fff3-4435-82a4-0f439f3ffffe</node></data> 2021-10-07 22:35:37 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-10-07 22:35:38 | [Mutex] waiting for: [received:nodes:5ab465e1-c548-49e4-8fa9-5b7aba4dba3b:localhost] 2021-10-07 22:35:38 | [Mutex] received everything. 2021-10-07 22:35:38 | [Mutex] isItemNotified: received:node:5ab465e1-c548-49e4-8fa9-5b7aba4dba3b:localhost:node-145cab86-fff3-4435-82a4-0f439f3ffffe:Node 145cab86-fff3-4435-82a4-0f439f3ffffe :: false 2021-10-07 22:35:38 | [Mutex] waiting for: [received:nodes:8923f832-f1fc-4c2b-bebd-4283e06364d8:localhost] 2021-10-07 22:35:38 | [Mutex] received everything. 2021-10-07 22:35:38 | [Mutex] isItemNotified: received:node:8923f832-f1fc-4c2b-bebd-4283e06364d8:localhost:node-145cab86-fff3-4435-82a4-0f439f3ffffe:Node 145cab86-fff3-4435-82a4-0f439f3ffffe :: false |
publishItemsToNodes | 0.317s |
2021-10-07 22:35:35 |
2021-10-07 22:35:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:35 | ------------------------------------ 2021-10-07 22:35:35 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-145cab86-fff3-4435-82a4-0f439f3ffffe</node><item-id>item-93d497f6-d323-4e7a-bd7e-fc3f949fe87b</item-id><entry><test>item-93d497f6-d323-4e7a-bd7e-fc3f949fe87b</test></entry></data> 2021-10-07 22:35:35 | 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-93d497f6-d323-4e7a-bd7e-fc3f949fe87b</value></item-id></result> 2021-10-07 22:35:35 | [Mutex] received everything. 2021-10-07 22:35:35 | [Mutex] isItemNotified: published:item:notifieditem-93d497f6-d323-4e7a-bd7e-fc3f949fe87b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.292s |
2021-10-07 22:35:35 |
2021-10-07 22:35:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:35 | ------------------------------------ 2021-10-07 22:35:35 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-145cab86-fff3-4435-82a4-0f439f3ffffe</node><item-id>item-93d497f6-d323-4e7a-bd7e-fc3f949fe87b</item-id></data> 2021-10-07 22:35:36 | 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-93d497f6-d323-4e7a-bd7e-fc3f949fe87b</value></item-id></result> 2021-10-07 22:35:36 | [Mutex] received everything. 2021-10-07 22:35:36 | [Mutex] isItemNotified: retracted:item:notifieditem-93d497f6-d323-4e7a-bd7e-fc3f949fe87b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.328s |
2021-10-07 22:35:35 |
2021-10-07 22:35:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:35 | ------------------------------------ 2021-10-07 22:35:35 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-145cab86-fff3-4435-82a4-0f439f3ffffe</node><item-id>item-93d497f6-d323-4e7a-bd7e-fc3f949fe87b</item-id></data> 2021-10-07 22:35:35 | 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-145cab86-fff3-4435-82a4-0f439f3ffffe</value></node><item-id label="Item ID" type="text-single"><value>item-93d497f6-d323-4e7a-bd7e-fc3f949fe87b</value></item-id><item label="Item" type="text-multi"><value><item id="item-93d497f6-d323-4e7a-bd7e-fc3f949fe87b"><test>item-93d497f6-d323-4e7a-bd7e-fc3f949fe87b</test></item></value></item></result> 2021-10-07 22:35:35 | [Mutex] notify: [retrieved:item:item-93d497f6-d323-4e7a-bd7e-fc3f949fe87b:payload-matches:true:localhost] 2021-10-07 22:35:35 | [Mutex] received everything. 2021-10-07 22:35:35 | [Mutex] isItemNotified: retrieved:item:item-93d497f6-d323-4e7a-bd7e-fc3f949fe87b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-10-07 22:35:35 |
2021-10-07 22:35:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:35 | ------------------------------------ 2021-10-07 22:35:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-10-07 22:35:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-145cab86-fff3-4435-82a4-0f439f3ffffe</value><value>node-a1785e91-12a3-4efb-839a-b753239daac6</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-10-07 22:35:35 |
2021-10-07 22:35:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:35 | ------------------------------------ 2021-10-07 22:35:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-145cab86-fff3-4435-82a4-0f439f3ffffe)</node-pattern></data> 2021-10-07 22:35:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.148s |
2021-10-07 22:35:33 |
2021-10-07 22:35:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:33 | ------------------------------------ 2021-10-07 22:35:33 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-145cab86-fff3-4435-82a4-0f439f3ffffe</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-07 22:35:34 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.310s |
2021-10-07 22:35:36 |
2021-10-07 22:35:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-10-07 22:35:36 | ------------------------------------ 2021-10-07 22:35:36 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-145cab86-fff3-4435-82a4-0f439f3ffffe</node><jids><value>admin@test-domain.com</value></jids></data> 2021-10-07 22:35:36 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |