Test duration : 9.505s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.108s |
2022-12-28 21:31:46 |
2022-12-28 21:31:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:46 | ------------------------------------ 2022-12-28 21:31:46 | [Mutex] waiting for: [configured:node:node-93d759f7-2069-41d1-86ee-6cf2d58b380c:node-22d87a35-747a-4765-94e8-b1eca1265829] 2022-12-28 21:31:46 | [Mutex] received everything. 2022-12-28 21:31:46 | [Mutex] isItemNotified: configured:node:node-93d759f7-2069-41d1-86ee-6cf2d58b380c:node-22d87a35-747a-4765-94e8-b1eca1265829 :: true 2022-12-28 21:31:47 | [Mutex] waiting for: [received:nodes:52e33dc4-0f0a-49d6-826d-f88d3c2fb383:localhost] 2022-12-28 21:31:47 | [Mutex] received everything. 2022-12-28 21:31:47 | [Mutex] isItemNotified: received:node:52e33dc4-0f0a-49d6-826d-f88d3c2fb383:localhost:node-93d759f7-2069-41d1-86ee-6cf2d58b380c:Node 93d759f7-2069-41d1-86ee-6cf2d58b380c :: true 2022-12-28 21:31:47 | [Mutex] waiting for: [received:nodes:8c938c87-b0f9-4b57-9434-131220e302de:localhost] 2022-12-28 21:31:48 | [Mutex] waiting for: [received:nodes:8c938c87-b0f9-4b57-9434-131220e302de:localhost] 2022-12-28 21:31:48 | [Mutex] waiting for: [received:nodes:8c938c87-b0f9-4b57-9434-131220e302de:localhost] 2022-12-28 21:31:48 | [Mutex] received everything. 2022-12-28 21:31:48 | [Mutex] isItemNotified: received:node:8c938c87-b0f9-4b57-9434-131220e302de:localhost:node-93d759f7-2069-41d1-86ee-6cf2d58b380c:Node 93d759f7-2069-41d1-86ee-6cf2d58b380c :: false |
createNodes | 1.473s |
2022-12-28 21:31:44 |
2022-12-28 21:31:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:44 | ------------------------------------ 2022-12-28 21:31:44 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-93d759f7-2069-41d1-86ee-6cf2d58b380c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 93d759f7-2069-41d1-86ee-6cf2d58b380c</title></pubsub></data> 2022-12-28 21:31:44 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 21:31:45 | [Mutex] waiting for: [received:nodes:431d3637-aa3e-4235-bf00-1d8e7a8766e8:localhost] 2022-12-28 21:31:45 | [Mutex] waiting for: [received:nodes:431d3637-aa3e-4235-bf00-1d8e7a8766e8:localhost] 2022-12-28 21:31:45 | [Mutex] waiting for: [received:nodes:431d3637-aa3e-4235-bf00-1d8e7a8766e8:localhost] 2022-12-28 21:31:45 | [Mutex] waiting for: [received:nodes:431d3637-aa3e-4235-bf00-1d8e7a8766e8:localhost] 2022-12-28 21:31:45 | [Mutex] received everything. 2022-12-28 21:31:45 | [Mutex] isItemNotified: received:node:431d3637-aa3e-4235-bf00-1d8e7a8766e8:localhost:node-93d759f7-2069-41d1-86ee-6cf2d58b380c:Node 93d759f7-2069-41d1-86ee-6cf2d58b380c :: true |
createSubnodes | 1.031s |
2022-12-28 21:31:45 |
2022-12-28 21:31:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:45 | ------------------------------------ 2022-12-28 21:31:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-22d87a35-747a-4765-94e8-b1eca1265829</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 22d87a35-747a-4765-94e8-b1eca1265829</title></pubsub></data> 2022-12-28 21:31:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 21:31:46 | [Mutex] waiting for: [received:nodes:cd0865a0-3f1e-4dcf-b709-78422fc2e6aa:localhost] 2022-12-28 21:31:46 | [Mutex] received everything. 2022-12-28 21:31:46 | [Mutex] isItemNotified: received:node:cd0865a0-3f1e-4dcf-b709-78422fc2e6aa:localhost:node-22d87a35-747a-4765-94e8-b1eca1265829:Node 22d87a35-747a-4765-94e8-b1eca1265829 :: true |
deleteNodes | 1.023s |
2022-12-28 21:31:52 |
2022-12-28 21:31:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:52 | ------------------------------------ 2022-12-28 21:31:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-22d87a35-747a-4765-94e8-b1eca1265829</node></data> 2022-12-28 21:31:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 21:31:53 | [Mutex] waiting for: [received:nodes:56ce1933-ad2d-47f1-9d8f-2820b8316a11:localhost] 2022-12-28 21:31:53 | [Mutex] waiting for: [received:nodes:56ce1933-ad2d-47f1-9d8f-2820b8316a11:localhost] 2022-12-28 21:31:53 | [Mutex] received everything. 2022-12-28 21:31:53 | [Mutex] isItemNotified: received:node:56ce1933-ad2d-47f1-9d8f-2820b8316a11:localhost:node-22d87a35-747a-4765-94e8-b1eca1265829:Node 22d87a35-747a-4765-94e8-b1eca1265829 :: false |
deleteSubnodes | 1.149s |
2022-12-28 21:31:51 |
2022-12-28 21:31:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:51 | ------------------------------------ 2022-12-28 21:31:51 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-93d759f7-2069-41d1-86ee-6cf2d58b380c</node></data> 2022-12-28 21:31:51 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 21:31:52 | [Mutex] waiting for: [received:nodes:88ba0822-d9ff-4efe-9c39-e2aa57bd1bee:localhost] 2022-12-28 21:31:52 | [Mutex] waiting for: [received:nodes:88ba0822-d9ff-4efe-9c39-e2aa57bd1bee:localhost] 2022-12-28 21:31:52 | [Mutex] waiting for: [received:nodes:88ba0822-d9ff-4efe-9c39-e2aa57bd1bee:localhost] 2022-12-28 21:31:52 | [Mutex] waiting for: [received:nodes:88ba0822-d9ff-4efe-9c39-e2aa57bd1bee:localhost] 2022-12-28 21:31:52 | [Mutex] received everything. 2022-12-28 21:31:52 | [Mutex] isItemNotified: received:node:88ba0822-d9ff-4efe-9c39-e2aa57bd1bee:localhost:node-93d759f7-2069-41d1-86ee-6cf2d58b380c:Node 93d759f7-2069-41d1-86ee-6cf2d58b380c :: false 2022-12-28 21:31:52 | [Mutex] waiting for: [received:nodes:f8e3ea76-ee86-40d2-b88f-44e4b2e74c9c:localhost] 2022-12-28 21:31:52 | [Mutex] received everything. 2022-12-28 21:31:52 | [Mutex] isItemNotified: received:node:f8e3ea76-ee86-40d2-b88f-44e4b2e74c9c:localhost:node-93d759f7-2069-41d1-86ee-6cf2d58b380c:Node 93d759f7-2069-41d1-86ee-6cf2d58b380c :: false |
publishItemsToNodes | 0.193s |
2022-12-28 21:31:49 |
2022-12-28 21:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:49 | ------------------------------------ 2022-12-28 21:31:49 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-93d759f7-2069-41d1-86ee-6cf2d58b380c</node><item-id>item-c99ef469-5aa0-4e08-a554-4833bef03b44</item-id><entry><test>item-c99ef469-5aa0-4e08-a554-4833bef03b44</test></entry></data> 2022-12-28 21:31:49 | 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-c99ef469-5aa0-4e08-a554-4833bef03b44</value></item-id></result> 2022-12-28 21:31:49 | [Mutex] received everything. 2022-12-28 21:31:49 | [Mutex] isItemNotified: published:item:notifieditem-c99ef469-5aa0-4e08-a554-4833bef03b44:admin@test-domain.com :: true |
retractItemsFromNodes | 0.267s |
2022-12-28 21:31:49 |
2022-12-28 21:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:49 | ------------------------------------ 2022-12-28 21:31:49 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-93d759f7-2069-41d1-86ee-6cf2d58b380c</node><item-id>item-c99ef469-5aa0-4e08-a554-4833bef03b44</item-id></data> 2022-12-28 21:31:49 | 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-c99ef469-5aa0-4e08-a554-4833bef03b44</value></item-id></result> 2022-12-28 21:31:49 | [Mutex] received everything. 2022-12-28 21:31:49 | [Mutex] isItemNotified: retracted:item:notifieditem-c99ef469-5aa0-4e08-a554-4833bef03b44:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.244s |
2022-12-28 21:31:49 |
2022-12-28 21:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:49 | ------------------------------------ 2022-12-28 21:31:49 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-93d759f7-2069-41d1-86ee-6cf2d58b380c</node><item-id>item-c99ef469-5aa0-4e08-a554-4833bef03b44</item-id></data> 2022-12-28 21:31:49 | 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-93d759f7-2069-41d1-86ee-6cf2d58b380c</value></node><item-id type="text-single" label="Item ID"><value>item-c99ef469-5aa0-4e08-a554-4833bef03b44</value></item-id><item type="text-multi" label="Item"><value><item id="item-c99ef469-5aa0-4e08-a554-4833bef03b44"><test>item-c99ef469-5aa0-4e08-a554-4833bef03b44</test></item></value></item></result> 2022-12-28 21:31:49 | [Mutex] notify: [retrieved:item:item-c99ef469-5aa0-4e08-a554-4833bef03b44:payload-matches:true:localhost] 2022-12-28 21:31:49 | [Mutex] received everything. 2022-12-28 21:31:49 | [Mutex] isItemNotified: retrieved:item:item-c99ef469-5aa0-4e08-a554-4833bef03b44:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-28 21:31:49 |
2022-12-28 21:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:49 | ------------------------------------ 2022-12-28 21:31:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-28 21:31:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-22d87a35-747a-4765-94e8-b1eca1265829</value><value>test</value><value>node-93d759f7-2069-41d1-86ee-6cf2d58b380c</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-12-28 21:31:49 |
2022-12-28 21:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:49 | ------------------------------------ 2022-12-28 21:31:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-93d759f7-2069-41d1-86ee-6cf2d58b380c)</node-pattern></data> 2022-12-28 21:31:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.118s |
2022-12-28 21:31:48 |
2022-12-28 21:31:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:48 | ------------------------------------ 2022-12-28 21:31:48 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-93d759f7-2069-41d1-86ee-6cf2d58b380c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-28 21:31:48 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.211s |
2022-12-28 21:31:49 |
2022-12-28 21:31:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 21:31:49 | ------------------------------------ 2022-12-28 21:31:49 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-93d759f7-2069-41d1-86ee-6cf2d58b380c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-28 21:31:50 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |