Test duration : 10.329s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.119s |
2021-01-27 06:11:11 |
2021-01-27 06:11:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:11 | ------------------------------------ 2021-01-27 06:11:11 | [Mutex] waiting for: [configured:node:node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d:node-ac001eec-d26a-4683-940e-a971cd42344c] 2021-01-27 06:11:11 | [Mutex] received everything. 2021-01-27 06:11:11 | [Mutex] isItemNotified: configured:node:node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d:node-ac001eec-d26a-4683-940e-a971cd42344c :: true 2021-01-27 06:11:12 | [Mutex] waiting for: [received:nodes:3f8b75b6-7cf2-4ba2-9c80-b708cf7c6cfe:localhost] 2021-01-27 06:11:12 | [Mutex] received everything. 2021-01-27 06:11:12 | [Mutex] isItemNotified: received:node:3f8b75b6-7cf2-4ba2-9c80-b708cf7c6cfe:localhost:node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d:Node be4c0a43-6914-4cfb-a69c-4b0c7a34636d :: true 2021-01-27 06:11:12 | [Mutex] waiting for: [received:nodes:35908ff7-8206-4d65-9596-5dd91ed0dc23:localhost] 2021-01-27 06:11:12 | [Mutex] received everything. 2021-01-27 06:11:12 | [Mutex] isItemNotified: received:node:35908ff7-8206-4d65-9596-5dd91ed0dc23:localhost:node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d:Node be4c0a43-6914-4cfb-a69c-4b0c7a34636d :: false |
createNodes | 1.666s |
2021-01-27 06:11:08 |
2021-01-27 06:11:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:08 | ------------------------------------ 2021-01-27 06:11:08 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node be4c0a43-6914-4cfb-a69c-4b0c7a34636d</title></pubsub></data> 2021-01-27 06:11:09 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 06:11:10 | [Mutex] waiting for: [received:nodes:c1d524a3-a66f-4960-84f6-d0ca75087463:localhost] 2021-01-27 06:11:10 | [Mutex] waiting for: [received:nodes:c1d524a3-a66f-4960-84f6-d0ca75087463:localhost] 2021-01-27 06:11:10 | [Mutex] received everything. 2021-01-27 06:11:10 | [Mutex] isItemNotified: received:node:c1d524a3-a66f-4960-84f6-d0ca75087463:localhost:node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d:Node be4c0a43-6914-4cfb-a69c-4b0c7a34636d :: true |
createSubnodes | 1.034s |
2021-01-27 06:11:10 |
2021-01-27 06:11:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:10 | ------------------------------------ 2021-01-27 06:11:10 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ac001eec-d26a-4683-940e-a971cd42344c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ac001eec-d26a-4683-940e-a971cd42344c</title></pubsub></data> 2021-01-27 06:11:10 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 06:11:11 | [Mutex] waiting for: [received:nodes:cb4329e5-7c4f-4863-b03d-eb33750454ff:localhost] 2021-01-27 06:11:11 | [Mutex] received everything. 2021-01-27 06:11:11 | [Mutex] isItemNotified: received:node:cb4329e5-7c4f-4863-b03d-eb33750454ff:localhost:node-ac001eec-d26a-4683-940e-a971cd42344c:Node ac001eec-d26a-4683-940e-a971cd42344c :: true |
deleteNodes | 1.025s |
2021-01-27 06:11:16 |
2021-01-27 06:11:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:16 | ------------------------------------ 2021-01-27 06:11:16 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ac001eec-d26a-4683-940e-a971cd42344c</node></data> 2021-01-27 06:11:16 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 06:11:17 | [Mutex] waiting for: [received:nodes:86b539ca-470f-43a0-82c2-e3c4334e4ef8:localhost] 2021-01-27 06:11:17 | [Mutex] received everything. 2021-01-27 06:11:17 | [Mutex] isItemNotified: received:node:86b539ca-470f-43a0-82c2-e3c4334e4ef8:localhost:node-ac001eec-d26a-4683-940e-a971cd42344c:Node ac001eec-d26a-4683-940e-a971cd42344c :: false |
deleteSubnodes | 1.153s |
2021-01-27 06:11:15 |
2021-01-27 06:11:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:15 | ------------------------------------ 2021-01-27 06:11:15 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d</node></data> 2021-01-27 06:11:15 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-01-27 06:11:16 | [Mutex] waiting for: [received:nodes:2978c611-ec5b-4378-8bd2-cd18199fd8c1:localhost] 2021-01-27 06:11:16 | [Mutex] waiting for: [received:nodes:2978c611-ec5b-4378-8bd2-cd18199fd8c1:localhost] 2021-01-27 06:11:16 | [Mutex] waiting for: [received:nodes:2978c611-ec5b-4378-8bd2-cd18199fd8c1:localhost] 2021-01-27 06:11:16 | [Mutex] received everything. 2021-01-27 06:11:16 | [Mutex] isItemNotified: received:node:2978c611-ec5b-4378-8bd2-cd18199fd8c1:localhost:node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d:Node be4c0a43-6914-4cfb-a69c-4b0c7a34636d :: false 2021-01-27 06:11:16 | [Mutex] waiting for: [received:nodes:a4bea812-5848-45ed-bbd3-b3108a513479:localhost] 2021-01-27 06:11:16 | [Mutex] received everything. 2021-01-27 06:11:16 | [Mutex] isItemNotified: received:node:a4bea812-5848-45ed-bbd3-b3108a513479:localhost:node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d:Node be4c0a43-6914-4cfb-a69c-4b0c7a34636d :: false |
publishItemsToNodes | 0.261s |
2021-01-27 06:11:13 |
2021-01-27 06:11:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:13 | ------------------------------------ 2021-01-27 06:11:13 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d</node><item-id>item-212b2ad0-136f-4101-ae0b-1857dcc529c6</item-id><entry><test>item-212b2ad0-136f-4101-ae0b-1857dcc529c6</test></entry></data> 2021-01-27 06:11:13 | 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-212b2ad0-136f-4101-ae0b-1857dcc529c6</value></item-id></result> 2021-01-27 06:11:13 | [Mutex] received everything. 2021-01-27 06:11:13 | [Mutex] isItemNotified: published:item:notifieditem-212b2ad0-136f-4101-ae0b-1857dcc529c6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.307s |
2021-01-27 06:11:14 |
2021-01-27 06:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:14 | ------------------------------------ 2021-01-27 06:11:14 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d</node><item-id>item-212b2ad0-136f-4101-ae0b-1857dcc529c6</item-id></data> 2021-01-27 06:11:14 | 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-212b2ad0-136f-4101-ae0b-1857dcc529c6</value></item-id></result> 2021-01-27 06:11:14 | [Mutex] received everything. 2021-01-27 06:11:14 | [Mutex] isItemNotified: retracted:item:notifieditem-212b2ad0-136f-4101-ae0b-1857dcc529c6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.257s |
2021-01-27 06:11:13 |
2021-01-27 06:11:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:13 | ------------------------------------ 2021-01-27 06:11:13 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d</node><item-id>item-212b2ad0-136f-4101-ae0b-1857dcc529c6</item-id></data> 2021-01-27 06:11:14 | 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-be4c0a43-6914-4cfb-a69c-4b0c7a34636d</value></node><item-id label="Item ID" type="text-single"><value>item-212b2ad0-136f-4101-ae0b-1857dcc529c6</value></item-id><item label="Item" type="text-multi"><value><item id="item-212b2ad0-136f-4101-ae0b-1857dcc529c6"><test>item-212b2ad0-136f-4101-ae0b-1857dcc529c6</test></item></value></item></result> 2021-01-27 06:11:14 | [Mutex] notify: [retrieved:item:item-212b2ad0-136f-4101-ae0b-1857dcc529c6:payload-matches:true:localhost] 2021-01-27 06:11:14 | [Mutex] received everything. 2021-01-27 06:11:14 | [Mutex] isItemNotified: retrieved:item:item-212b2ad0-136f-4101-ae0b-1857dcc529c6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-01-27 06:11:14 |
2021-01-27 06:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:14 | ------------------------------------ 2021-01-27 06:11:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-01-27 06:11:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-ac001eec-d26a-4683-940e-a971cd42344c</value><value>test</value><value>node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-01-27 06:11:14 |
2021-01-27 06:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:14 | ------------------------------------ 2021-01-27 06:11:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d)</node-pattern></data> 2021-01-27 06:11:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.154s |
2021-01-27 06:11:12 |
2021-01-27 06:11:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:12 | ------------------------------------ 2021-01-27 06:11:12 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-27 06:11:12 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.303s |
2021-01-27 06:11:14 |
2021-01-27 06:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-01-27 06:11:14 | ------------------------------------ 2021-01-27 06:11:14 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-be4c0a43-6914-4cfb-a69c-4b0c7a34636d</node><jids><value>admin@test-domain.com</value></jids></data> 2021-01-27 06:11:14 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |