Test duration : 10.259s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.137s |
2020-11-26 21:30:22 |
2020-11-26 21:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:22 | ------------------------------------ 2020-11-26 21:30:22 | [Mutex] waiting for: [configured:node:node-833f95bc-baf9-4bf9-871e-b48afc6eb647:node-58f9ddc8-ec60-4850-b65c-43a4ab251a59] 2020-11-26 21:30:22 | [Mutex] received everything. 2020-11-26 21:30:22 | [Mutex] isItemNotified: configured:node:node-833f95bc-baf9-4bf9-871e-b48afc6eb647:node-58f9ddc8-ec60-4850-b65c-43a4ab251a59 :: true 2020-11-26 21:30:23 | [Mutex] waiting for: [received:nodes:1d2915ac-066e-40ee-9fa2-f26a4adbd1b8:localhost] 2020-11-26 21:30:23 | [Mutex] received everything. 2020-11-26 21:30:23 | [Mutex] isItemNotified: received:node:1d2915ac-066e-40ee-9fa2-f26a4adbd1b8:localhost:node-833f95bc-baf9-4bf9-871e-b48afc6eb647:Node 833f95bc-baf9-4bf9-871e-b48afc6eb647 :: true 2020-11-26 21:30:23 | [Mutex] waiting for: [received:nodes:701b69ae-4492-4f57-9ea0-47e24d5822ff:localhost] 2020-11-26 21:30:23 | [Mutex] received everything. 2020-11-26 21:30:23 | [Mutex] isItemNotified: received:node:701b69ae-4492-4f57-9ea0-47e24d5822ff:localhost:node-833f95bc-baf9-4bf9-871e-b48afc6eb647:Node 833f95bc-baf9-4bf9-871e-b48afc6eb647 :: false |
createNodes | 1.679s |
2020-11-26 21:30:19 |
2020-11-26 21:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:19 | ------------------------------------ 2020-11-26 21:30:19 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-833f95bc-baf9-4bf9-871e-b48afc6eb647</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 833f95bc-baf9-4bf9-871e-b48afc6eb647</title></pubsub></data> 2020-11-26 21:30:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-26 21:30:21 | [Mutex] waiting for: [received:nodes:857f699c-95fb-4c9e-9a01-87ecfb653012:localhost] 2020-11-26 21:30:21 | [Mutex] waiting for: [received:nodes:857f699c-95fb-4c9e-9a01-87ecfb653012:localhost] 2020-11-26 21:30:21 | [Mutex] waiting for: [received:nodes:857f699c-95fb-4c9e-9a01-87ecfb653012:localhost] 2020-11-26 21:30:21 | [Mutex] received everything. 2020-11-26 21:30:21 | [Mutex] isItemNotified: received:node:857f699c-95fb-4c9e-9a01-87ecfb653012:localhost:node-833f95bc-baf9-4bf9-871e-b48afc6eb647:Node 833f95bc-baf9-4bf9-871e-b48afc6eb647 :: true |
createSubnodes | 1.034s |
2020-11-26 21:30:21 |
2020-11-26 21:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:21 | ------------------------------------ 2020-11-26 21:30:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-58f9ddc8-ec60-4850-b65c-43a4ab251a59</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 58f9ddc8-ec60-4850-b65c-43a4ab251a59</title></pubsub></data> 2020-11-26 21:30:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-26 21:30:22 | [Mutex] waiting for: [received:nodes:45548e7d-6c3e-40d1-9ad9-1038196866f8:localhost] 2020-11-26 21:30:22 | [Mutex] waiting for: [received:nodes:45548e7d-6c3e-40d1-9ad9-1038196866f8:localhost] 2020-11-26 21:30:22 | [Mutex] received everything. 2020-11-26 21:30:22 | [Mutex] isItemNotified: received:node:45548e7d-6c3e-40d1-9ad9-1038196866f8:localhost:node-58f9ddc8-ec60-4850-b65c-43a4ab251a59:Node 58f9ddc8-ec60-4850-b65c-43a4ab251a59 :: true |
deleteNodes | 1.023s |
2020-11-26 21:30:27 |
2020-11-26 21:30:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:27 | ------------------------------------ 2020-11-26 21:30:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-58f9ddc8-ec60-4850-b65c-43a4ab251a59</node></data> 2020-11-26 21:30:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-26 21:30:28 | [Mutex] waiting for: [received:nodes:487e1255-0309-4bb5-9d83-f54f79a03808:localhost] 2020-11-26 21:30:28 | [Mutex] received everything. 2020-11-26 21:30:28 | [Mutex] isItemNotified: received:node:487e1255-0309-4bb5-9d83-f54f79a03808:localhost:node-58f9ddc8-ec60-4850-b65c-43a4ab251a59:Node 58f9ddc8-ec60-4850-b65c-43a4ab251a59 :: false |
deleteSubnodes | 1.117s |
2020-11-26 21:30:26 |
2020-11-26 21:30:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:26 | ------------------------------------ 2020-11-26 21:30:26 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-833f95bc-baf9-4bf9-871e-b48afc6eb647</node></data> 2020-11-26 21:30:26 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-26 21:30:27 | [Mutex] waiting for: [received:nodes:9ad496ea-043a-44c4-9f2c-d148f9a3ecd2:localhost] 2020-11-26 21:30:27 | [Mutex] received everything. 2020-11-26 21:30:27 | [Mutex] isItemNotified: received:node:9ad496ea-043a-44c4-9f2c-d148f9a3ecd2:localhost:node-833f95bc-baf9-4bf9-871e-b48afc6eb647:Node 833f95bc-baf9-4bf9-871e-b48afc6eb647 :: false 2020-11-26 21:30:27 | [Mutex] waiting for: [received:nodes:a6d3e898-277c-452f-8d4d-23c79e3cd701:localhost] 2020-11-26 21:30:27 | [Mutex] received everything. 2020-11-26 21:30:27 | [Mutex] isItemNotified: received:node:a6d3e898-277c-452f-8d4d-23c79e3cd701:localhost:node-833f95bc-baf9-4bf9-871e-b48afc6eb647:Node 833f95bc-baf9-4bf9-871e-b48afc6eb647 :: false |
publishItemsToNodes | 0.226s |
2020-11-26 21:30:24 |
2020-11-26 21:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:24 | ------------------------------------ 2020-11-26 21:30:24 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-833f95bc-baf9-4bf9-871e-b48afc6eb647</node><item-id>item-a235983b-8a88-4d9c-8e0e-d1f75f531ba2</item-id><entry><test>item-a235983b-8a88-4d9c-8e0e-d1f75f531ba2</test></entry></data> 2020-11-26 21:30:24 | 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-a235983b-8a88-4d9c-8e0e-d1f75f531ba2</value></item-id></result> 2020-11-26 21:30:24 | [Mutex] received everything. 2020-11-26 21:30:24 | [Mutex] isItemNotified: published:item:notifieditem-a235983b-8a88-4d9c-8e0e-d1f75f531ba2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.341s |
2020-11-26 21:30:25 |
2020-11-26 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:25 | ------------------------------------ 2020-11-26 21:30:25 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-833f95bc-baf9-4bf9-871e-b48afc6eb647</node><item-id>item-a235983b-8a88-4d9c-8e0e-d1f75f531ba2</item-id></data> 2020-11-26 21:30:25 | 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-a235983b-8a88-4d9c-8e0e-d1f75f531ba2</value></item-id></result> 2020-11-26 21:30:25 | [Mutex] waiting for: [retracted:item:notifieditem-a235983b-8a88-4d9c-8e0e-d1f75f531ba2:admin@test-domain.com] 2020-11-26 21:30:25 | [Mutex] received everything. 2020-11-26 21:30:25 | [Mutex] isItemNotified: retracted:item:notifieditem-a235983b-8a88-4d9c-8e0e-d1f75f531ba2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.213s |
2020-11-26 21:30:24 |
2020-11-26 21:30:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:24 | ------------------------------------ 2020-11-26 21:30:24 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-833f95bc-baf9-4bf9-871e-b48afc6eb647</node><item-id>item-a235983b-8a88-4d9c-8e0e-d1f75f531ba2</item-id></data> 2020-11-26 21:30:25 | 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-833f95bc-baf9-4bf9-871e-b48afc6eb647</value></node><item-id label="Item ID" type="text-single"><value>item-a235983b-8a88-4d9c-8e0e-d1f75f531ba2</value></item-id><item label="Item" type="text-multi"><value><item id="item-a235983b-8a88-4d9c-8e0e-d1f75f531ba2"><test>item-a235983b-8a88-4d9c-8e0e-d1f75f531ba2</test></item></value></item></result> 2020-11-26 21:30:25 | [Mutex] notify: [retrieved:item:item-a235983b-8a88-4d9c-8e0e-d1f75f531ba2:payload-matches:true:localhost] 2020-11-26 21:30:25 | [Mutex] received everything. 2020-11-26 21:30:25 | [Mutex] isItemNotified: retrieved:item:item-a235983b-8a88-4d9c-8e0e-d1f75f531ba2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-26 21:30:25 |
2020-11-26 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:25 | ------------------------------------ 2020-11-26 21:30:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-26 21:30:25 | 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-833f95bc-baf9-4bf9-871e-b48afc6eb647</value><value>node-58f9ddc8-ec60-4850-b65c-43a4ab251a59</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-11-26 21:30:25 |
2020-11-26 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:25 | ------------------------------------ 2020-11-26 21:30:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-833f95bc-baf9-4bf9-871e-b48afc6eb647)</node-pattern></data> 2020-11-26 21:30:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.135s |
2020-11-26 21:30:23 |
2020-11-26 21:30:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:23 | ------------------------------------ 2020-11-26 21:30:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-833f95bc-baf9-4bf9-871e-b48afc6eb647</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-26 21:30:23 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.275s |
2020-11-26 21:30:25 |
2020-11-26 21:30:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-26 21:30:25 | ------------------------------------ 2020-11-26 21:30:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-833f95bc-baf9-4bf9-871e-b48afc6eb647</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-26 21:30:25 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |