Test duration: 10.098s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.115s |
2019-11-22 19:13:59 |
2019-11-22 19:13:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:13:59 | ------------------------------------ 2019-11-22 19:13:59 | [Mutex] waiting for: [configured:node:node-4054c5b2-d11b-4727-8097-2fdde06ca0fb:node-18fc5990-0da6-4170-97bc-2bd508af2728] 2019-11-22 19:13:59 | [Mutex] received everything. 2019-11-22 19:13:59 | [Mutex] isItemNotified: configured:node:node-4054c5b2-d11b-4727-8097-2fdde06ca0fb:node-18fc5990-0da6-4170-97bc-2bd508af2728 :: true 2019-11-22 19:14:00 | [Mutex] waiting for: [received:nodes:4c76c6b8-a907-4108-89dd-09da7b0150d8:localhost] 2019-11-22 19:14:00 | [Mutex] received everything. 2019-11-22 19:14:00 | [Mutex] isItemNotified: received:node:4c76c6b8-a907-4108-89dd-09da7b0150d8:localhost:node-4054c5b2-d11b-4727-8097-2fdde06ca0fb:Node 4054c5b2-d11b-4727-8097-2fdde06ca0fb :: true 2019-11-22 19:14:00 | [Mutex] waiting for: [received:nodes:decb2a8b-3b77-4289-a4ed-74986cd67733:localhost] 2019-11-22 19:14:00 | [Mutex] received everything. 2019-11-22 19:14:00 | [Mutex] isItemNotified: received:node:decb2a8b-3b77-4289-a4ed-74986cd67733:localhost:node-4054c5b2-d11b-4727-8097-2fdde06ca0fb:Node 4054c5b2-d11b-4727-8097-2fdde06ca0fb :: false |
createNodes | 1.695s |
2019-11-22 19:13:56 |
2019-11-22 19:13:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:13:56 | ------------------------------------ 2019-11-22 19:13:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4054c5b2-d11b-4727-8097-2fdde06ca0fb</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4054c5b2-d11b-4727-8097-2fdde06ca0fb</title></pubsub></data> 2019-11-22 19:13:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 19:13:58 | [Mutex] waiting for: [received:nodes:2aec3398-2f83-4a0f-8455-371d9734e091:localhost] 2019-11-22 19:13:58 | [Mutex] received everything. 2019-11-22 19:13:58 | [Mutex] isItemNotified: received:node:2aec3398-2f83-4a0f-8455-371d9734e091:localhost:node-4054c5b2-d11b-4727-8097-2fdde06ca0fb:Node 4054c5b2-d11b-4727-8097-2fdde06ca0fb :: true |
createSubnodes | 1.023s |
2019-11-22 19:13:58 |
2019-11-22 19:13:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:13:58 | ------------------------------------ 2019-11-22 19:13:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-18fc5990-0da6-4170-97bc-2bd508af2728</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 18fc5990-0da6-4170-97bc-2bd508af2728</title></pubsub></data> 2019-11-22 19:13:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 19:13:59 | [Mutex] waiting for: [received:nodes:ab502030-9e6c-478d-96f5-c8f07b9b9a4e:localhost] 2019-11-22 19:13:59 | [Mutex] received everything. 2019-11-22 19:13:59 | [Mutex] isItemNotified: received:node:ab502030-9e6c-478d-96f5-c8f07b9b9a4e:localhost:node-18fc5990-0da6-4170-97bc-2bd508af2728:Node 18fc5990-0da6-4170-97bc-2bd508af2728 :: true |
deleteNodes | 1.018s |
2019-11-22 19:14:04 |
2019-11-22 19:14:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:14:04 | ------------------------------------ 2019-11-22 19:14:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-18fc5990-0da6-4170-97bc-2bd508af2728</node></data> 2019-11-22 19:14:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 19:14:05 | [Mutex] waiting for: [received:nodes:fdb865ca-9212-4c53-846e-fbdd397a3301:localhost] 2019-11-22 19:14:05 | [Mutex] received everything. 2019-11-22 19:14:05 | [Mutex] isItemNotified: received:node:fdb865ca-9212-4c53-846e-fbdd397a3301:localhost:node-18fc5990-0da6-4170-97bc-2bd508af2728:Node 18fc5990-0da6-4170-97bc-2bd508af2728 :: false |
deleteSubnodes | 1.140s |
2019-11-22 19:14:03 |
2019-11-22 19:14:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:14:03 | ------------------------------------ 2019-11-22 19:14:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4054c5b2-d11b-4727-8097-2fdde06ca0fb</node></data> 2019-11-22 19:14:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2019-11-22 19:14:04 | [Mutex] waiting for: [received:nodes:98f4c214-e737-4719-9431-3781f0bbe76f:localhost] 2019-11-22 19:14:04 | [Mutex] received everything. 2019-11-22 19:14:04 | [Mutex] isItemNotified: received:node:98f4c214-e737-4719-9431-3781f0bbe76f:localhost:node-4054c5b2-d11b-4727-8097-2fdde06ca0fb:Node 4054c5b2-d11b-4727-8097-2fdde06ca0fb :: false 2019-11-22 19:14:04 | [Mutex] waiting for: [received:nodes:47947828-e6d4-4fcb-b654-20a9b904a25f:localhost] 2019-11-22 19:14:04 | [Mutex] received everything. 2019-11-22 19:14:04 | [Mutex] isItemNotified: received:node:47947828-e6d4-4fcb-b654-20a9b904a25f:localhost:node-4054c5b2-d11b-4727-8097-2fdde06ca0fb:Node 4054c5b2-d11b-4727-8097-2fdde06ca0fb :: false |
publishItemsToNodes | 0.216s |
2019-11-22 19:14:01 |
2019-11-22 19:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:14:01 | ------------------------------------ 2019-11-22 19:14:01 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4054c5b2-d11b-4727-8097-2fdde06ca0fb</node><item-id>item-95448ba1-297d-49a6-ae1f-8f06617f8ea4</item-id><entry><test>item-95448ba1-297d-49a6-ae1f-8f06617f8ea4</test></entry></data> 2019-11-22 19:14:01 | 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-95448ba1-297d-49a6-ae1f-8f06617f8ea4</value></item-id></result> 2019-11-22 19:14:01 | [Mutex] received everything. 2019-11-22 19:14:01 | [Mutex] isItemNotified: published:item:notifieditem-95448ba1-297d-49a6-ae1f-8f06617f8ea4:admin@localhost :: true |
retractItemsFromNodes | 0.275s |
2019-11-22 19:14:02 |
2019-11-22 19:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:14:02 | ------------------------------------ 2019-11-22 19:14:02 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4054c5b2-d11b-4727-8097-2fdde06ca0fb</node><item-id>item-95448ba1-297d-49a6-ae1f-8f06617f8ea4</item-id></data> 2019-11-22 19:14:02 | 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-95448ba1-297d-49a6-ae1f-8f06617f8ea4</value></item-id></result> 2019-11-22 19:14:02 | [Mutex] received everything. 2019-11-22 19:14:02 | [Mutex] isItemNotified: retracted:item:notifieditem-95448ba1-297d-49a6-ae1f-8f06617f8ea4:admin@localhost :: true |
retrieveItemsFromNodes | 0.169s |
2019-11-22 19:14:01 |
2019-11-22 19:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:14:01 | ------------------------------------ 2019-11-22 19:14:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4054c5b2-d11b-4727-8097-2fdde06ca0fb</node><item-id>item-95448ba1-297d-49a6-ae1f-8f06617f8ea4</item-id></data> 2019-11-22 19:14:01 | 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-4054c5b2-d11b-4727-8097-2fdde06ca0fb</value></node><item-id label="Item ID" type="text-single"><value>item-95448ba1-297d-49a6-ae1f-8f06617f8ea4</value></item-id><item label="Item" type="text-multi"><value><item id="item-95448ba1-297d-49a6-ae1f-8f06617f8ea4"><test>item-95448ba1-297d-49a6-ae1f-8f06617f8ea4</test></item></value></item></result> 2019-11-22 19:14:01 | [Mutex] notify: [retrieved:item:item-95448ba1-297d-49a6-ae1f-8f06617f8ea4:payload-matches:true:localhost] 2019-11-22 19:14:01 | [Mutex] received everything. 2019-11-22 19:14:01 | [Mutex] isItemNotified: retrieved:item:item-95448ba1-297d-49a6-ae1f-8f06617f8ea4:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.185s |
2019-11-22 19:14:01 |
2019-11-22 19:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:14:01 | ------------------------------------ 2019-11-22 19:14:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2019-11-22 19:14:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-4054c5b2-d11b-4727-8097-2fdde06ca0fb</value><value>node-18fc5990-0da6-4170-97bc-2bd508af2728</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.057s |
2019-11-22 19:14:01 |
2019-11-22 19:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:14:01 | ------------------------------------ 2019-11-22 19:14:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-4054c5b2-d11b-4727-8097-2fdde06ca0fb)</node-pattern></data> 2019-11-22 19:14:02 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.137s |
2019-11-22 19:14:00 |
2019-11-22 19:14:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:14:00 | ------------------------------------ 2019-11-22 19:14:00 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4054c5b2-d11b-4727-8097-2fdde06ca0fb</node><jids><value>admin@localhost</value></jids></data> 2019-11-22 19:14:00 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.191s |
2019-11-22 19:14:02 |
2019-11-22 19:14:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2019-11-22 19:14:02 | ------------------------------------ 2019-11-22 19:14:02 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4054c5b2-d11b-4727-8097-2fdde06ca0fb</node><jids><value>admin@localhost</value></jids></data> 2019-11-22 19:14:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |