Test duration : 10.410s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.111s |
2022-01-16 21:56:41 |
2022-01-16 21:56:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:41 | ------------------------------------ 2022-01-16 21:56:41 | [Mutex] waiting for: [configured:node:node-60435b94-d1c3-4323-a2d6-6bfc1f05c997:node-5215fa51-8cd9-48d4-aa0b-c20b6205baab] 2022-01-16 21:56:41 | [Mutex] received everything. 2022-01-16 21:56:41 | [Mutex] isItemNotified: configured:node:node-60435b94-d1c3-4323-a2d6-6bfc1f05c997:node-5215fa51-8cd9-48d4-aa0b-c20b6205baab :: true 2022-01-16 21:56:42 | [Mutex] waiting for: [received:nodes:2b17dee8-6950-4c4c-960c-c59d98e9701c:localhost] 2022-01-16 21:56:42 | [Mutex] received everything. 2022-01-16 21:56:42 | [Mutex] isItemNotified: received:node:2b17dee8-6950-4c4c-960c-c59d98e9701c:localhost:node-60435b94-d1c3-4323-a2d6-6bfc1f05c997:Node 60435b94-d1c3-4323-a2d6-6bfc1f05c997 :: true 2022-01-16 21:56:42 | [Mutex] waiting for: [received:nodes:8a9be0dd-a77c-4c37-8856-00a128df044f:localhost] 2022-01-16 21:56:42 | [Mutex] received everything. 2022-01-16 21:56:42 | [Mutex] isItemNotified: received:node:8a9be0dd-a77c-4c37-8856-00a128df044f:localhost:node-60435b94-d1c3-4323-a2d6-6bfc1f05c997:Node 60435b94-d1c3-4323-a2d6-6bfc1f05c997 :: false |
createNodes | 1.453s |
2022-01-16 21:56:38 |
2022-01-16 21:56:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:38 | ------------------------------------ 2022-01-16 21:56:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-60435b94-d1c3-4323-a2d6-6bfc1f05c997</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 60435b94-d1c3-4323-a2d6-6bfc1f05c997</title></pubsub></data> 2022-01-16 21:56:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-16 21:56:40 | [Mutex] waiting for: [received:nodes:d9055911-53cf-4c46-8972-94efe55b6019:localhost] 2022-01-16 21:56:40 | [Mutex] received everything. 2022-01-16 21:56:40 | [Mutex] isItemNotified: received:node:d9055911-53cf-4c46-8972-94efe55b6019:localhost:node-60435b94-d1c3-4323-a2d6-6bfc1f05c997:Node 60435b94-d1c3-4323-a2d6-6bfc1f05c997 :: true |
createSubnodes | 1.037s |
2022-01-16 21:56:40 |
2022-01-16 21:56:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:40 | ------------------------------------ 2022-01-16 21:56:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5215fa51-8cd9-48d4-aa0b-c20b6205baab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5215fa51-8cd9-48d4-aa0b-c20b6205baab</title></pubsub></data> 2022-01-16 21:56:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-16 21:56:41 | [Mutex] waiting for: [received:nodes:26e8a098-1401-4249-a7d8-6438c4153866:localhost] 2022-01-16 21:56:41 | [Mutex] waiting for: [received:nodes:26e8a098-1401-4249-a7d8-6438c4153866:localhost] 2022-01-16 21:56:41 | [Mutex] received everything. 2022-01-16 21:56:41 | [Mutex] isItemNotified: received:node:26e8a098-1401-4249-a7d8-6438c4153866:localhost:node-5215fa51-8cd9-48d4-aa0b-c20b6205baab:Node 5215fa51-8cd9-48d4-aa0b-c20b6205baab :: true |
deleteNodes | 1.023s |
2022-01-16 21:56:47 |
2022-01-16 21:56:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:47 | ------------------------------------ 2022-01-16 21:56:47 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5215fa51-8cd9-48d4-aa0b-c20b6205baab</node></data> 2022-01-16 21:56:47 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-16 21:56:48 | [Mutex] waiting for: [received:nodes:ba9363d4-fd23-429e-a46d-88a5fa30f1c3:localhost] 2022-01-16 21:56:48 | [Mutex] received everything. 2022-01-16 21:56:48 | [Mutex] isItemNotified: received:node:ba9363d4-fd23-429e-a46d-88a5fa30f1c3:localhost:node-5215fa51-8cd9-48d4-aa0b-c20b6205baab:Node 5215fa51-8cd9-48d4-aa0b-c20b6205baab :: false |
deleteSubnodes | 1.191s |
2022-01-16 21:56:45 |
2022-01-16 21:56:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:45 | ------------------------------------ 2022-01-16 21:56:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-60435b94-d1c3-4323-a2d6-6bfc1f05c997</node></data> 2022-01-16 21:56:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-01-16 21:56:46 | [Mutex] waiting for: [received:nodes:aa3d9db4-01b0-4731-9c38-4bdcdd1b6833:localhost] 2022-01-16 21:56:47 | [Mutex] received everything. 2022-01-16 21:56:47 | [Mutex] isItemNotified: received:node:aa3d9db4-01b0-4731-9c38-4bdcdd1b6833:localhost:node-60435b94-d1c3-4323-a2d6-6bfc1f05c997:Node 60435b94-d1c3-4323-a2d6-6bfc1f05c997 :: false 2022-01-16 21:56:47 | [Mutex] waiting for: [received:nodes:262bc65c-49cc-44df-9721-6ca355d47fa4:localhost] 2022-01-16 21:56:47 | [Mutex] received everything. 2022-01-16 21:56:47 | [Mutex] isItemNotified: received:node:262bc65c-49cc-44df-9721-6ca355d47fa4:localhost:node-60435b94-d1c3-4323-a2d6-6bfc1f05c997:Node 60435b94-d1c3-4323-a2d6-6bfc1f05c997 :: false |
publishItemsToNodes | 0.296s |
2022-01-16 21:56:43 |
2022-01-16 21:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:43 | ------------------------------------ 2022-01-16 21:56:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-60435b94-d1c3-4323-a2d6-6bfc1f05c997</node><item-id>item-3a0b84d5-e031-4730-805f-ecb72a02c72f</item-id><entry><test>item-3a0b84d5-e031-4730-805f-ecb72a02c72f</test></entry></data> 2022-01-16 21:56:43 | 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-3a0b84d5-e031-4730-805f-ecb72a02c72f</value></item-id></result> 2022-01-16 21:56:43 | [Mutex] waiting for: [published:item:notifieditem-3a0b84d5-e031-4730-805f-ecb72a02c72f:admin@test-domain.com] 2022-01-16 21:56:43 | [Mutex] received everything. 2022-01-16 21:56:43 | [Mutex] isItemNotified: published:item:notifieditem-3a0b84d5-e031-4730-805f-ecb72a02c72f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.415s |
2022-01-16 21:56:44 |
2022-01-16 21:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:44 | ------------------------------------ 2022-01-16 21:56:44 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-60435b94-d1c3-4323-a2d6-6bfc1f05c997</node><item-id>item-3a0b84d5-e031-4730-805f-ecb72a02c72f</item-id></data> 2022-01-16 21:56:44 | 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-3a0b84d5-e031-4730-805f-ecb72a02c72f</value></item-id></result> 2022-01-16 21:56:44 | [Mutex] received everything. 2022-01-16 21:56:44 | [Mutex] isItemNotified: retracted:item:notifieditem-3a0b84d5-e031-4730-805f-ecb72a02c72f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.266s |
2022-01-16 21:56:43 |
2022-01-16 21:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:43 | ------------------------------------ 2022-01-16 21:56:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-60435b94-d1c3-4323-a2d6-6bfc1f05c997</node><item-id>item-3a0b84d5-e031-4730-805f-ecb72a02c72f</item-id></data> 2022-01-16 21:56:43 | 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-60435b94-d1c3-4323-a2d6-6bfc1f05c997</value></node><item-id label="Item ID" type="text-single"><value>item-3a0b84d5-e031-4730-805f-ecb72a02c72f</value></item-id><item label="Item" type="text-multi"><value><item id="item-3a0b84d5-e031-4730-805f-ecb72a02c72f"><test>item-3a0b84d5-e031-4730-805f-ecb72a02c72f</test></item></value></item></result> 2022-01-16 21:56:43 | [Mutex] notify: [retrieved:item:item-3a0b84d5-e031-4730-805f-ecb72a02c72f:payload-matches:true:localhost] 2022-01-16 21:56:43 | [Mutex] received everything. 2022-01-16 21:56:43 | [Mutex] isItemNotified: retrieved:item:item-3a0b84d5-e031-4730-805f-ecb72a02c72f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-01-16 21:56:43 |
2022-01-16 21:56:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:43 | ------------------------------------ 2022-01-16 21:56:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-01-16 21:56:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-60435b94-d1c3-4323-a2d6-6bfc1f05c997</value><value>node-5215fa51-8cd9-48d4-aa0b-c20b6205baab</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.070s |
2022-01-16 21:56:44 |
2022-01-16 21:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:44 | ------------------------------------ 2022-01-16 21:56:44 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-60435b94-d1c3-4323-a2d6-6bfc1f05c997)</node-pattern></data> 2022-01-16 21:56:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.135s |
2022-01-16 21:56:42 |
2022-01-16 21:56:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:42 | ------------------------------------ 2022-01-16 21:56:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-60435b94-d1c3-4323-a2d6-6bfc1f05c997</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-16 21:56:42 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.331s |
2022-01-16 21:56:44 |
2022-01-16 21:56:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-01-16 21:56:44 | ------------------------------------ 2022-01-16 21:56:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-60435b94-d1c3-4323-a2d6-6bfc1f05c997</node><jids><value>admin@test-domain.com</value></jids></data> 2022-01-16 21:56:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |