Test duration: 10.461s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.114s |
2019-11-27 19:57:03 |
2019-11-27 19:57:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:03 | ------------------------------------ 2019-11-27 19:57:03 | [Mutex] waiting for: [configured:node:node-c166b6d7-417c-4780-b09f-eef438c2a191:node-ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5] 2019-11-27 19:57:03 | [Mutex] received everything. 2019-11-27 19:57:03 | [Mutex] isItemNotified: configured:node:node-c166b6d7-417c-4780-b09f-eef438c2a191:node-ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5 :: true 2019-11-27 19:57:04 | [Mutex] waiting for: [received:nodes:a514ea08-28ed-4ded-beb4-0a5b50e9c63b:localhost] 2019-11-27 19:57:04 | [Mutex] received everything. 2019-11-27 19:57:04 | [Mutex] isItemNotified: received:node:a514ea08-28ed-4ded-beb4-0a5b50e9c63b:localhost:node-c166b6d7-417c-4780-b09f-eef438c2a191:Node c166b6d7-417c-4780-b09f-eef438c2a191 :: true 2019-11-27 19:57:04 | [Mutex] waiting for: [received:nodes:6281b486-ad89-47f7-88f4-072780ae0733:localhost] 2019-11-27 19:57:04 | [Mutex] received everything. 2019-11-27 19:57:04 | [Mutex] isItemNotified: received:node:6281b486-ad89-47f7-88f4-072780ae0733:localhost:node-c166b6d7-417c-4780-b09f-eef438c2a191:Node c166b6d7-417c-4780-b09f-eef438c2a191 :: false |
createNodes | 1.574s |
2019-11-27 19:57:00 |
2019-11-27 19:57:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:00 | ------------------------------------ 2019-11-27 19:57:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c166b6d7-417c-4780-b09f-eef438c2a191</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c166b6d7-417c-4780-b09f-eef438c2a191</title></pubsub></data> 2019-11-27 19:57:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-27 19:57:02 | [Mutex] waiting for: [received:nodes:6d4aaf48-f6d4-4766-b02f-e921562a0db1:localhost] 2019-11-27 19:57:02 | [Mutex] received everything. 2019-11-27 19:57:02 | [Mutex] isItemNotified: received:node:6d4aaf48-f6d4-4766-b02f-e921562a0db1:localhost:node-c166b6d7-417c-4780-b09f-eef438c2a191:Node c166b6d7-417c-4780-b09f-eef438c2a191 :: true |
createSubnodes | 1.039s |
2019-11-27 19:57:02 |
2019-11-27 19:57:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:02 | ------------------------------------ 2019-11-27 19:57:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5</title></pubsub></data> 2019-11-27 19:57:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-27 19:57:03 | [Mutex] waiting for: [received:nodes:90ae6848-85dd-4d3a-b1c1-1aaea801743f:localhost] 2019-11-27 19:57:03 | [Mutex] received everything. 2019-11-27 19:57:03 | [Mutex] isItemNotified: received:node:90ae6848-85dd-4d3a-b1c1-1aaea801743f:localhost:node-ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5:Node ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5 :: true |
deleteNodes | 1.029s |
2019-11-27 19:57:09 |
2019-11-27 19:57:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:09 | ------------------------------------ 2019-11-27 19:57:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5</node></data> 2019-11-27 19:57:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-27 19:57:10 | [Mutex] waiting for: [received:nodes:3c1a1828-7af6-4569-86a4-d2654bf7f8e4:localhost] 2019-11-27 19:57:10 | [Mutex] received everything. 2019-11-27 19:57:10 | [Mutex] isItemNotified: received:node:3c1a1828-7af6-4569-86a4-d2654bf7f8e4:localhost:node-ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5:Node ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5 :: false |
deleteSubnodes | 1.206s |
2019-11-27 19:57:08 |
2019-11-27 19:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:08 | ------------------------------------ 2019-11-27 19:57:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c166b6d7-417c-4780-b09f-eef438c2a191</node></data> 2019-11-27 19:57:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-27 19:57:09 | [Mutex] waiting for: [received:nodes:8c707229-fafb-4e09-9f8c-d21b7f0e23f0:localhost] 2019-11-27 19:57:09 | [Mutex] received everything. 2019-11-27 19:57:09 | [Mutex] isItemNotified: received:node:8c707229-fafb-4e09-9f8c-d21b7f0e23f0:localhost:node-c166b6d7-417c-4780-b09f-eef438c2a191:Node c166b6d7-417c-4780-b09f-eef438c2a191 :: false 2019-11-27 19:57:09 | [Mutex] waiting for: [received:nodes:2c7455ac-656b-4dd3-8d9a-d85027df4e4c:localhost] 2019-11-27 19:57:09 | [Mutex] received everything. 2019-11-27 19:57:09 | [Mutex] isItemNotified: received:node:2c7455ac-656b-4dd3-8d9a-d85027df4e4c:localhost:node-c166b6d7-417c-4780-b09f-eef438c2a191:Node c166b6d7-417c-4780-b09f-eef438c2a191 :: false |
publishItemsToNodes | 0.346s |
2019-11-27 19:57:05 |
2019-11-27 19:57:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:05 | ------------------------------------ 2019-11-27 19:57:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c166b6d7-417c-4780-b09f-eef438c2a191</node><item-id>item-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a</item-id><entry><test>item-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a</test></entry></data> 2019-11-27 19:57:06 | 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-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a</value></item-id></result> 2019-11-27 19:57:06 | [Mutex] received everything. 2019-11-27 19:57:06 | [Mutex] isItemNotified: published:item:notifieditem-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a:admin@localhost :: true |
retractItemsFromNodes | 0.256s |
2019-11-27 19:57:06 |
2019-11-27 19:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:06 | ------------------------------------ 2019-11-27 19:57:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c166b6d7-417c-4780-b09f-eef438c2a191</node><item-id>item-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a</item-id></data> 2019-11-27 19:57:06 | 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-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a</value></item-id></result> 2019-11-27 19:57:06 | [Mutex] waiting for: [retracted:item:notifieditem-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a:admin@localhost] 2019-11-27 19:57:06 | [Mutex] received everything. 2019-11-27 19:57:06 | [Mutex] isItemNotified: retracted:item:notifieditem-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a:admin@localhost :: true |
retrieveItemsFromNodes | 0.208s |
2019-11-27 19:57:06 |
2019-11-27 19:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:06 | ------------------------------------ 2019-11-27 19:57:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c166b6d7-417c-4780-b09f-eef438c2a191</node><item-id>item-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a</item-id></data> 2019-11-27 19:57:06 | 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-c166b6d7-417c-4780-b09f-eef438c2a191</value></node><item-id label="Item ID" type="text-single"><value>item-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a</value></item-id><item label="Item" type="text-multi"><value><item id="item-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a"><test>item-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a</test></item></value></item></result> 2019-11-27 19:57:06 | [Mutex] notify: [retrieved:item:item-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a:payload-matches:true:localhost] 2019-11-27 19:57:06 | [Mutex] received everything. 2019-11-27 19:57:06 | [Mutex] isItemNotified: retrieved:item:item-4660a6ca-c68a-407d-8bfb-2bcfb861ac5a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.192s |
2019-11-27 19:57:06 |
2019-11-27 19:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:06 | ------------------------------------ 2019-11-27 19:57:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-27 19:57:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-c166b6d7-417c-4780-b09f-eef438c2a191</value><value>node-ae52535c-a870-4c6a-bdb1-29fc3b6fa2c5</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2019-11-27 19:57:06 |
2019-11-27 19:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:06 | ------------------------------------ 2019-11-27 19:57:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-c166b6d7-417c-4780-b09f-eef438c2a191)</node-pattern></data> 2019-11-27 19:57:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.172s |
2019-11-27 19:57:04 |
2019-11-27 19:57:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:04 | ------------------------------------ 2019-11-27 19:57:04 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c166b6d7-417c-4780-b09f-eef438c2a191</node><jids><value>admin@localhost</value></jids></data> 2019-11-27 19:57:04 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.270s |
2019-11-27 19:57:06 |
2019-11-27 19:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-27 19:57:06 | ------------------------------------ 2019-11-27 19:57:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c166b6d7-417c-4780-b09f-eef438c2a191</node><jids><value>admin@localhost</value></jids></data> 2019-11-27 19:57:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |