Test duration: 10.135s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2020-04-30 00:21:52 |
2020-04-30 00:21:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:52 | ------------------------------------ 2020-04-30 00:21:52 | [Mutex] waiting for: [configured:node:node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b:node-9a38ca1e-2f1e-4d28-b952-f58b1838d3eb] 2020-04-30 00:21:52 | [Mutex] received everything. 2020-04-30 00:21:52 | [Mutex] isItemNotified: configured:node:node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b:node-9a38ca1e-2f1e-4d28-b952-f58b1838d3eb :: true 2020-04-30 00:21:53 | [Mutex] waiting for: [received:nodes:19f91691-cbc5-4544-9167-9d4fbb19540f:localhost] 2020-04-30 00:21:53 | [Mutex] received everything. 2020-04-30 00:21:53 | [Mutex] isItemNotified: received:node:19f91691-cbc5-4544-9167-9d4fbb19540f:localhost:node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b:Node d6b2045b-d8a7-4f1a-b784-1424e93d0b8b :: true 2020-04-30 00:21:53 | [Mutex] waiting for: [received:nodes:87135115-a783-4203-b95f-46842cacd559:localhost] 2020-04-30 00:21:53 | [Mutex] received everything. 2020-04-30 00:21:53 | [Mutex] isItemNotified: received:node:87135115-a783-4203-b95f-46842cacd559:localhost:node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b:Node d6b2045b-d8a7-4f1a-b784-1424e93d0b8b :: false |
createNodes | 1.647s |
2020-04-30 00:21:49 |
2020-04-30 00:21:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:49 | ------------------------------------ 2020-04-30 00:21:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</title></pubsub></data> 2020-04-30 00:21:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-04-30 00:21:51 | [Mutex] waiting for: [received:nodes:0550d975-8718-43b9-bf71-2b9091a62373:localhost] 2020-04-30 00:21:51 | [Mutex] waiting for: [received:nodes:0550d975-8718-43b9-bf71-2b9091a62373:localhost] 2020-04-30 00:21:51 | [Mutex] received everything. 2020-04-30 00:21:51 | [Mutex] isItemNotified: received:node:0550d975-8718-43b9-bf71-2b9091a62373:localhost:node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b:Node d6b2045b-d8a7-4f1a-b784-1424e93d0b8b :: true |
createSubnodes | 1.034s |
2020-04-30 00:21:51 |
2020-04-30 00:21:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:51 | ------------------------------------ 2020-04-30 00:21:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-9a38ca1e-2f1e-4d28-b952-f58b1838d3eb</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 9a38ca1e-2f1e-4d28-b952-f58b1838d3eb</title></pubsub></data> 2020-04-30 00:21:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-04-30 00:21:52 | [Mutex] waiting for: [received:nodes:4899d1ec-202d-4a58-b544-4d5d73a60a70:localhost] 2020-04-30 00:21:52 | [Mutex] received everything. 2020-04-30 00:21:52 | [Mutex] isItemNotified: received:node:4899d1ec-202d-4a58-b544-4d5d73a60a70:localhost:node-9a38ca1e-2f1e-4d28-b952-f58b1838d3eb:Node 9a38ca1e-2f1e-4d28-b952-f58b1838d3eb :: true |
deleteNodes | 1.026s |
2020-04-30 00:21:57 |
2020-04-30 00:21:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:57 | ------------------------------------ 2020-04-30 00:21:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-9a38ca1e-2f1e-4d28-b952-f58b1838d3eb</node></data> 2020-04-30 00:21:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-04-30 00:21:58 | [Mutex] waiting for: [received:nodes:710e0429-c988-4e28-90ef-8ac4dc20fa11:localhost] 2020-04-30 00:21:58 | [Mutex] waiting for: [received:nodes:710e0429-c988-4e28-90ef-8ac4dc20fa11:localhost] 2020-04-30 00:21:58 | [Mutex] received everything. 2020-04-30 00:21:58 | [Mutex] isItemNotified: received:node:710e0429-c988-4e28-90ef-8ac4dc20fa11:localhost:node-9a38ca1e-2f1e-4d28-b952-f58b1838d3eb:Node 9a38ca1e-2f1e-4d28-b952-f58b1838d3eb :: false |
deleteSubnodes | 1.141s |
2020-04-30 00:21:56 |
2020-04-30 00:21:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:56 | ------------------------------------ 2020-04-30 00:21:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</node></data> 2020-04-30 00:21:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-04-30 00:21:57 | [Mutex] waiting for: [received:nodes:cfefba51-9f94-43c4-9b6d-147c39b5d52d:localhost] 2020-04-30 00:21:57 | [Mutex] received everything. 2020-04-30 00:21:57 | [Mutex] isItemNotified: received:node:cfefba51-9f94-43c4-9b6d-147c39b5d52d:localhost:node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b:Node d6b2045b-d8a7-4f1a-b784-1424e93d0b8b :: false 2020-04-30 00:21:57 | [Mutex] waiting for: [received:nodes:da12e163-0ad7-4db8-8908-b087eb58b4bf:localhost] 2020-04-30 00:21:57 | [Mutex] received everything. 2020-04-30 00:21:57 | [Mutex] isItemNotified: received:node:da12e163-0ad7-4db8-8908-b087eb58b4bf:localhost:node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b:Node d6b2045b-d8a7-4f1a-b784-1424e93d0b8b :: false |
publishItemsToNodes | 0.233s |
2020-04-30 00:21:54 |
2020-04-30 00:21:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:54 | ------------------------------------ 2020-04-30 00:21:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</node><item-id>item-7c7bf988-fd4a-46bf-bf55-44a4cc35470a</item-id><entry><test>item-7c7bf988-fd4a-46bf-bf55-44a4cc35470a</test></entry></data> 2020-04-30 00:21:54 | 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-7c7bf988-fd4a-46bf-bf55-44a4cc35470a</value></item-id></result> 2020-04-30 00:21:54 | [Mutex] waiting for: [published:item:notifieditem-7c7bf988-fd4a-46bf-bf55-44a4cc35470a:admin@localhost] 2020-04-30 00:21:54 | [Mutex] received everything. 2020-04-30 00:21:54 | [Mutex] isItemNotified: published:item:notifieditem-7c7bf988-fd4a-46bf-bf55-44a4cc35470a:admin@localhost :: true |
retractItemsFromNodes | 0.191s |
2020-04-30 00:21:55 |
2020-04-30 00:21:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:55 | ------------------------------------ 2020-04-30 00:21:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</node><item-id>item-7c7bf988-fd4a-46bf-bf55-44a4cc35470a</item-id></data> 2020-04-30 00:21:55 | 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-7c7bf988-fd4a-46bf-bf55-44a4cc35470a</value></item-id></result> 2020-04-30 00:21:55 | [Mutex] received everything. 2020-04-30 00:21:55 | [Mutex] isItemNotified: retracted:item:notifieditem-7c7bf988-fd4a-46bf-bf55-44a4cc35470a:admin@localhost :: true |
retrieveItemsFromNodes | 0.220s |
2020-04-30 00:21:54 |
2020-04-30 00:21:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:54 | ------------------------------------ 2020-04-30 00:21:54 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</node><item-id>item-7c7bf988-fd4a-46bf-bf55-44a4cc35470a</item-id></data> 2020-04-30 00:21:54 | 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-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</value></node><item-id type="text-single" label="Item ID"><value>item-7c7bf988-fd4a-46bf-bf55-44a4cc35470a</value></item-id><item type="text-multi" label="Item"><value><item id="item-7c7bf988-fd4a-46bf-bf55-44a4cc35470a"><test>item-7c7bf988-fd4a-46bf-bf55-44a4cc35470a</test></item></value></item></result> 2020-04-30 00:21:54 | [Mutex] notify: [retrieved:item:item-7c7bf988-fd4a-46bf-bf55-44a4cc35470a:payload-matches:true:localhost] 2020-04-30 00:21:54 | [Mutex] received everything. 2020-04-30 00:21:54 | [Mutex] isItemNotified: retrieved:item:item-7c7bf988-fd4a-46bf-bf55-44a4cc35470a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.228s |
2020-04-30 00:21:54 |
2020-04-30 00:21:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:54 | ------------------------------------ 2020-04-30 00:21:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-04-30 00:21:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</value><value>node-9a38ca1e-2f1e-4d28-b952-f58b1838d3eb</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-04-30 00:21:55 |
2020-04-30 00:21:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:55 | ------------------------------------ 2020-04-30 00:21:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b)</node-pattern></data> 2020-04-30 00:21:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.117s |
2020-04-30 00:21:53 |
2020-04-30 00:21:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:53 | ------------------------------------ 2020-04-30 00:21:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</node><jids><value>admin@localhost</value></jids></data> 2020-04-30 00:21:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.215s |
2020-04-30 00:21:55 |
2020-04-30 00:21:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-04-30 00:21:55 | ------------------------------------ 2020-04-30 00:21:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-d6b2045b-d8a7-4f1a-b784-1424e93d0b8b</node><jids><value>admin@localhost</value></jids></data> 2020-04-30 00:21:55 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |