Test duration : 9.485s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.075s |
2023-02-15 22:02:41 |
2023-02-15 22:02:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:41 | ------------------------------------ 2023-02-15 22:02:41 | [Mutex] waiting for: [configured:node:node-27b66691-a051-4e8d-b80d-fbe75af5121a:node-426eef38-7dfb-4166-84c2-afba71431884] 2023-02-15 22:02:41 | [Mutex] received everything. 2023-02-15 22:02:41 | [Mutex] isItemNotified: configured:node:node-27b66691-a051-4e8d-b80d-fbe75af5121a:node-426eef38-7dfb-4166-84c2-afba71431884 :: true 2023-02-15 22:02:42 | [Mutex] waiting for: [received:nodes:a2f55dd8-06fd-45e8-bf1e-7b7732f2d420:localhost] 2023-02-15 22:02:42 | [Mutex] received everything. 2023-02-15 22:02:42 | [Mutex] isItemNotified: received:node:a2f55dd8-06fd-45e8-bf1e-7b7732f2d420:localhost:node-27b66691-a051-4e8d-b80d-fbe75af5121a:Node 27b66691-a051-4e8d-b80d-fbe75af5121a :: true 2023-02-15 22:02:42 | [Mutex] waiting for: [received:nodes:405f0583-3f66-4b04-b0ab-026fd7374992:localhost] 2023-02-15 22:02:42 | [Mutex] waiting for: [received:nodes:405f0583-3f66-4b04-b0ab-026fd7374992:localhost] 2023-02-15 22:02:42 | [Mutex] waiting for: [received:nodes:405f0583-3f66-4b04-b0ab-026fd7374992:localhost] 2023-02-15 22:02:42 | [Mutex] waiting for: [received:nodes:405f0583-3f66-4b04-b0ab-026fd7374992:localhost] 2023-02-15 22:02:42 | [Mutex] received everything. 2023-02-15 22:02:42 | [Mutex] isItemNotified: received:node:405f0583-3f66-4b04-b0ab-026fd7374992:localhost:node-27b66691-a051-4e8d-b80d-fbe75af5121a:Node 27b66691-a051-4e8d-b80d-fbe75af5121a :: false |
createNodes | 1.321s |
2023-02-15 22:02:38 |
2023-02-15 22:02:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:38 | ------------------------------------ 2023-02-15 22:02:38 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-27b66691-a051-4e8d-b80d-fbe75af5121a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 27b66691-a051-4e8d-b80d-fbe75af5121a</title></pubsub></data> 2023-02-15 22:02:39 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-15 22:02:40 | [Mutex] waiting for: [received:nodes:1c32a753-96d2-45dc-bf83-8687de7ca58c:localhost] 2023-02-15 22:02:40 | [Mutex] waiting for: [received:nodes:1c32a753-96d2-45dc-bf83-8687de7ca58c:localhost] 2023-02-15 22:02:40 | [Mutex] waiting for: [received:nodes:1c32a753-96d2-45dc-bf83-8687de7ca58c:localhost] 2023-02-15 22:02:40 | [Mutex] received everything. 2023-02-15 22:02:40 | [Mutex] isItemNotified: received:node:1c32a753-96d2-45dc-bf83-8687de7ca58c:localhost:node-27b66691-a051-4e8d-b80d-fbe75af5121a:Node 27b66691-a051-4e8d-b80d-fbe75af5121a :: true |
createSubnodes | 1.027s |
2023-02-15 22:02:40 |
2023-02-15 22:02:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:40 | ------------------------------------ 2023-02-15 22:02:40 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-426eef38-7dfb-4166-84c2-afba71431884</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 426eef38-7dfb-4166-84c2-afba71431884</title></pubsub></data> 2023-02-15 22:02:40 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-15 22:02:41 | [Mutex] waiting for: [received:nodes:e94a1ea0-e0dd-4266-a386-66cb9f9ec478:localhost] 2023-02-15 22:02:41 | [Mutex] waiting for: [received:nodes:e94a1ea0-e0dd-4266-a386-66cb9f9ec478:localhost] 2023-02-15 22:02:41 | [Mutex] waiting for: [received:nodes:e94a1ea0-e0dd-4266-a386-66cb9f9ec478:localhost] 2023-02-15 22:02:41 | [Mutex] received everything. 2023-02-15 22:02:41 | [Mutex] isItemNotified: received:node:e94a1ea0-e0dd-4266-a386-66cb9f9ec478:localhost:node-426eef38-7dfb-4166-84c2-afba71431884:Node 426eef38-7dfb-4166-84c2-afba71431884 :: true |
deleteNodes | 1.017s |
2023-02-15 22:02:46 |
2023-02-15 22:02:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:46 | ------------------------------------ 2023-02-15 22:02:46 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-426eef38-7dfb-4166-84c2-afba71431884</node></data> 2023-02-15 22:02:46 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-15 22:02:47 | [Mutex] waiting for: [received:nodes:58c283b3-045f-44c6-abc3-ad3598affc5e:localhost] 2023-02-15 22:02:47 | [Mutex] waiting for: [received:nodes:58c283b3-045f-44c6-abc3-ad3598affc5e:localhost] 2023-02-15 22:02:47 | [Mutex] waiting for: [received:nodes:58c283b3-045f-44c6-abc3-ad3598affc5e:localhost] 2023-02-15 22:02:47 | [Mutex] received everything. 2023-02-15 22:02:47 | [Mutex] isItemNotified: received:node:58c283b3-045f-44c6-abc3-ad3598affc5e:localhost:node-426eef38-7dfb-4166-84c2-afba71431884:Node 426eef38-7dfb-4166-84c2-afba71431884 :: false |
deleteSubnodes | 1.149s |
2023-02-15 22:02:45 |
2023-02-15 22:02:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:45 | ------------------------------------ 2023-02-15 22:02:45 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-27b66691-a051-4e8d-b80d-fbe75af5121a</node></data> 2023-02-15 22:02:45 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-02-15 22:02:46 | [Mutex] waiting for: [received:nodes:05193fd8-8592-4ed3-baa3-7b6eb0a636cf:localhost] 2023-02-15 22:02:46 | [Mutex] waiting for: [received:nodes:05193fd8-8592-4ed3-baa3-7b6eb0a636cf:localhost] 2023-02-15 22:02:46 | [Mutex] waiting for: [received:nodes:05193fd8-8592-4ed3-baa3-7b6eb0a636cf:localhost] 2023-02-15 22:02:46 | [Mutex] received everything. 2023-02-15 22:02:46 | [Mutex] isItemNotified: received:node:05193fd8-8592-4ed3-baa3-7b6eb0a636cf:localhost:node-27b66691-a051-4e8d-b80d-fbe75af5121a:Node 27b66691-a051-4e8d-b80d-fbe75af5121a :: false 2023-02-15 22:02:46 | [Mutex] waiting for: [received:nodes:4b1c2970-ec21-4035-8612-b0eee190101f:localhost] 2023-02-15 22:02:46 | [Mutex] received everything. 2023-02-15 22:02:46 | [Mutex] isItemNotified: received:node:4b1c2970-ec21-4035-8612-b0eee190101f:localhost:node-27b66691-a051-4e8d-b80d-fbe75af5121a:Node 27b66691-a051-4e8d-b80d-fbe75af5121a :: false |
publishItemsToNodes | 0.259s |
2023-02-15 22:02:43 |
2023-02-15 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:43 | ------------------------------------ 2023-02-15 22:02:43 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-27b66691-a051-4e8d-b80d-fbe75af5121a</node><item-id>item-3d9f1c1c-d178-44e0-b66d-d83779f28889</item-id><entry><test>item-3d9f1c1c-d178-44e0-b66d-d83779f28889</test></entry></data> 2023-02-15 22:02: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-3d9f1c1c-d178-44e0-b66d-d83779f28889</value></item-id></result> 2023-02-15 22:02:43 | [Mutex] waiting for: [published:item:notifieditem-3d9f1c1c-d178-44e0-b66d-d83779f28889:admin@test-domain.com] 2023-02-15 22:02:43 | [Mutex] received everything. 2023-02-15 22:02:43 | [Mutex] isItemNotified: published:item:notifieditem-3d9f1c1c-d178-44e0-b66d-d83779f28889:admin@test-domain.com :: true |
retractItemsFromNodes | 0.275s |
2023-02-15 22:02:43 |
2023-02-15 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:43 | ------------------------------------ 2023-02-15 22:02:43 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-27b66691-a051-4e8d-b80d-fbe75af5121a</node><item-id>item-3d9f1c1c-d178-44e0-b66d-d83779f28889</item-id></data> 2023-02-15 22:02: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-3d9f1c1c-d178-44e0-b66d-d83779f28889</value></item-id></result> 2023-02-15 22:02:44 | [Mutex] received everything. 2023-02-15 22:02:44 | [Mutex] isItemNotified: retracted:item:notifieditem-3d9f1c1c-d178-44e0-b66d-d83779f28889:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.223s |
2023-02-15 22:02:43 |
2023-02-15 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:43 | ------------------------------------ 2023-02-15 22:02:43 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-27b66691-a051-4e8d-b80d-fbe75af5121a</node><item-id>item-3d9f1c1c-d178-44e0-b66d-d83779f28889</item-id></data> 2023-02-15 22:02: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-27b66691-a051-4e8d-b80d-fbe75af5121a</value></node><item-id label="Item ID" type="text-single"><value>item-3d9f1c1c-d178-44e0-b66d-d83779f28889</value></item-id><item label="Item" type="text-multi"><value><item id="item-3d9f1c1c-d178-44e0-b66d-d83779f28889"><test>item-3d9f1c1c-d178-44e0-b66d-d83779f28889</test></item></value></item></result> 2023-02-15 22:02:43 | [Mutex] notify: [retrieved:item:item-3d9f1c1c-d178-44e0-b66d-d83779f28889:payload-matches:true:localhost] 2023-02-15 22:02:43 | [Mutex] received everything. 2023-02-15 22:02:43 | [Mutex] isItemNotified: retrieved:item:item-3d9f1c1c-d178-44e0-b66d-d83779f28889:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-02-15 22:02:43 |
2023-02-15 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:43 | ------------------------------------ 2023-02-15 22:02:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-02-15 22:02: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-426eef38-7dfb-4166-84c2-afba71431884</value><value>node-27b66691-a051-4e8d-b80d-fbe75af5121a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-02-15 22:02:43 |
2023-02-15 22:02:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:43 | ------------------------------------ 2023-02-15 22:02:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-27b66691-a051-4e8d-b80d-fbe75af5121a)</node-pattern></data> 2023-02-15 22:02:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.098s |
2023-02-15 22:02:42 |
2023-02-15 22:02:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:42 | ------------------------------------ 2023-02-15 22:02:42 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-27b66691-a051-4e8d-b80d-fbe75af5121a</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-15 22:02: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.215s |
2023-02-15 22:02:44 |
2023-02-15 22:02:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-02-15 22:02:44 | ------------------------------------ 2023-02-15 22:02:44 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-27b66691-a051-4e8d-b80d-fbe75af5121a</node><jids><value>admin@test-domain.com</value></jids></data> 2023-02-15 22:02:44 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |