Test duration : 9.961s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2020-09-21 22:48:24 |
2020-09-21 22:48:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:24 | ------------------------------------ 2020-09-21 22:48:24 | [Mutex] waiting for: [configured:node:node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40:node-464863f6-3202-453d-9679-068fb4f901d4] 2020-09-21 22:48:24 | [Mutex] received everything. 2020-09-21 22:48:24 | [Mutex] isItemNotified: configured:node:node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40:node-464863f6-3202-453d-9679-068fb4f901d4 :: true 2020-09-21 22:48:25 | [Mutex] waiting for: [received:nodes:42252ab5-ae99-4992-845b-f977866339b9:localhost] 2020-09-21 22:48:25 | [Mutex] received everything. 2020-09-21 22:48:25 | [Mutex] isItemNotified: received:node:42252ab5-ae99-4992-845b-f977866339b9:localhost:node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40:Node 2d5667f8-bbc1-4773-a6e6-fc9d490eff40 :: true 2020-09-21 22:48:25 | [Mutex] waiting for: [received:nodes:af24c091-3df5-4e09-a74d-3b5e052cc5d3:localhost] 2020-09-21 22:48:25 | [Mutex] received everything. 2020-09-21 22:48:25 | [Mutex] isItemNotified: received:node:af24c091-3df5-4e09-a74d-3b5e052cc5d3:localhost:node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40:Node 2d5667f8-bbc1-4773-a6e6-fc9d490eff40 :: false |
createNodes | 1.393s |
2020-09-21 22:48:21 |
2020-09-21 22:48:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:21 | ------------------------------------ 2020-09-21 22:48:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2d5667f8-bbc1-4773-a6e6-fc9d490eff40</title></pubsub></data> 2020-09-21 22:48:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-21 22:48:23 | [Mutex] waiting for: [received:nodes:6ebc847f-48a1-41df-ac63-a94446d989ce:localhost] 2020-09-21 22:48:23 | [Mutex] waiting for: [received:nodes:6ebc847f-48a1-41df-ac63-a94446d989ce:localhost] 2020-09-21 22:48:23 | [Mutex] received everything. 2020-09-21 22:48:23 | [Mutex] isItemNotified: received:node:6ebc847f-48a1-41df-ac63-a94446d989ce:localhost:node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40:Node 2d5667f8-bbc1-4773-a6e6-fc9d490eff40 :: true |
createSubnodes | 1.030s |
2020-09-21 22:48:23 |
2020-09-21 22:48:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:23 | ------------------------------------ 2020-09-21 22:48:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-464863f6-3202-453d-9679-068fb4f901d4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 464863f6-3202-453d-9679-068fb4f901d4</title></pubsub></data> 2020-09-21 22:48:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-21 22:48:24 | [Mutex] waiting for: [received:nodes:ec29142c-7ecd-4dfc-b97e-1b0a9f6ffde4:localhost] 2020-09-21 22:48:24 | [Mutex] received everything. 2020-09-21 22:48:24 | [Mutex] isItemNotified: received:node:ec29142c-7ecd-4dfc-b97e-1b0a9f6ffde4:localhost:node-464863f6-3202-453d-9679-068fb4f901d4:Node 464863f6-3202-453d-9679-068fb4f901d4 :: true |
deleteNodes | 1.015s |
2020-09-21 22:48:29 |
2020-09-21 22:48:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:29 | ------------------------------------ 2020-09-21 22:48:29 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-464863f6-3202-453d-9679-068fb4f901d4</node></data> 2020-09-21 22:48:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-21 22:48:30 | [Mutex] waiting for: [received:nodes:0298798f-9745-4920-9ab9-53fa1a0b3d69:localhost] 2020-09-21 22:48:30 | [Mutex] received everything. 2020-09-21 22:48:30 | [Mutex] isItemNotified: received:node:0298798f-9745-4920-9ab9-53fa1a0b3d69:localhost:node-464863f6-3202-453d-9679-068fb4f901d4:Node 464863f6-3202-453d-9679-068fb4f901d4 :: false |
deleteSubnodes | 1.129s |
2020-09-21 22:48:28 |
2020-09-21 22:48:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:28 | ------------------------------------ 2020-09-21 22:48:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40</node></data> 2020-09-21 22:48:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-21 22:48:29 | [Mutex] waiting for: [received:nodes:28a9c571-4ec3-4ce4-aed4-584868cbe7c9:localhost] 2020-09-21 22:48:29 | [Mutex] waiting for: [received:nodes:28a9c571-4ec3-4ce4-aed4-584868cbe7c9:localhost] 2020-09-21 22:48:29 | [Mutex] received everything. 2020-09-21 22:48:29 | [Mutex] isItemNotified: received:node:28a9c571-4ec3-4ce4-aed4-584868cbe7c9:localhost:node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40:Node 2d5667f8-bbc1-4773-a6e6-fc9d490eff40 :: false 2020-09-21 22:48:29 | [Mutex] waiting for: [received:nodes:ac8d661e-a3c8-43ce-8fb2-cc0a9ddaa387:localhost] 2020-09-21 22:48:29 | [Mutex] received everything. 2020-09-21 22:48:29 | [Mutex] isItemNotified: received:node:ac8d661e-a3c8-43ce-8fb2-cc0a9ddaa387:localhost:node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40:Node 2d5667f8-bbc1-4773-a6e6-fc9d490eff40 :: false |
publishItemsToNodes | 0.247s |
2020-09-21 22:48:26 |
2020-09-21 22:48:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:26 | ------------------------------------ 2020-09-21 22:48:26 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40</node><item-id>item-89780f3a-4a90-4439-a22f-99344dbffa4a</item-id><entry><test>item-89780f3a-4a90-4439-a22f-99344dbffa4a</test></entry></data> 2020-09-21 22:48:26 | 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-89780f3a-4a90-4439-a22f-99344dbffa4a</value></item-id></result> 2020-09-21 22:48:26 | [Mutex] waiting for: [published:item:notifieditem-89780f3a-4a90-4439-a22f-99344dbffa4a:admin@test-domain.com] 2020-09-21 22:48:26 | [Mutex] received everything. 2020-09-21 22:48:26 | [Mutex] isItemNotified: published:item:notifieditem-89780f3a-4a90-4439-a22f-99344dbffa4a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.251s |
2020-09-21 22:48:27 |
2020-09-21 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:27 | ------------------------------------ 2020-09-21 22:48:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40</node><item-id>item-89780f3a-4a90-4439-a22f-99344dbffa4a</item-id></data> 2020-09-21 22:48:27 | 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-89780f3a-4a90-4439-a22f-99344dbffa4a</value></item-id></result> 2020-09-21 22:48:27 | [Mutex] received everything. 2020-09-21 22:48:27 | [Mutex] isItemNotified: retracted:item:notifieditem-89780f3a-4a90-4439-a22f-99344dbffa4a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.294s |
2020-09-21 22:48:26 |
2020-09-21 22:48:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:26 | ------------------------------------ 2020-09-21 22:48:26 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40</node><item-id>item-89780f3a-4a90-4439-a22f-99344dbffa4a</item-id></data> 2020-09-21 22:48:26 | 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-2d5667f8-bbc1-4773-a6e6-fc9d490eff40</value></node><item-id type="text-single" label="Item ID"><value>item-89780f3a-4a90-4439-a22f-99344dbffa4a</value></item-id><item type="text-multi" label="Item"><value><item id="item-89780f3a-4a90-4439-a22f-99344dbffa4a"><test>item-89780f3a-4a90-4439-a22f-99344dbffa4a</test></item></value></item></result> 2020-09-21 22:48:26 | [Mutex] notify: [retrieved:item:item-89780f3a-4a90-4439-a22f-99344dbffa4a:payload-matches:true:localhost] 2020-09-21 22:48:26 | [Mutex] received everything. 2020-09-21 22:48:26 | [Mutex] isItemNotified: retrieved:item:item-89780f3a-4a90-4439-a22f-99344dbffa4a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.053s |
2020-09-21 22:48:26 |
2020-09-21 22:48:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:26 | ------------------------------------ 2020-09-21 22:48:26 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-21 22:48:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40</value><value>node-464863f6-3202-453d-9679-068fb4f901d4</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-21 22:48:27 |
2020-09-21 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:27 | ------------------------------------ 2020-09-21 22:48:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40)</node-pattern></data> 2020-09-21 22:48:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.152s |
2020-09-21 22:48:25 |
2020-09-21 22:48:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:25 | ------------------------------------ 2020-09-21 22:48:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-21 22:48:25 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.203s |
2020-09-21 22:48:27 |
2020-09-21 22:48:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-21 22:48:27 | ------------------------------------ 2020-09-21 22:48:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2d5667f8-bbc1-4773-a6e6-fc9d490eff40</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-21 22:48:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |