Test duration : 10.201s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.139s |
2021-04-25 22:27:50 |
2021-04-25 22:27:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:50 | ------------------------------------ 2021-04-25 22:27:50 | [Mutex] waiting for: [configured:node:node-fc681a94-e112-48a8-9505-a9681b854a50:node-d5f54582-46d1-40cb-9fff-ea601401381b] 2021-04-25 22:27:50 | [Mutex] received everything. 2021-04-25 22:27:50 | [Mutex] isItemNotified: configured:node:node-fc681a94-e112-48a8-9505-a9681b854a50:node-d5f54582-46d1-40cb-9fff-ea601401381b :: true 2021-04-25 22:27:51 | [Mutex] waiting for: [received:nodes:963b1460-109b-4229-ab38-bb3b3aa1fefb:localhost] 2021-04-25 22:27:51 | [Mutex] received everything. 2021-04-25 22:27:51 | [Mutex] isItemNotified: received:node:963b1460-109b-4229-ab38-bb3b3aa1fefb:localhost:node-fc681a94-e112-48a8-9505-a9681b854a50:Node fc681a94-e112-48a8-9505-a9681b854a50 :: true 2021-04-25 22:27:51 | [Mutex] waiting for: [received:nodes:b0a6a7a3-d309-4a9d-9a89-82f0277434b1:localhost] 2021-04-25 22:27:51 | [Mutex] received everything. 2021-04-25 22:27:51 | [Mutex] isItemNotified: received:node:b0a6a7a3-d309-4a9d-9a89-82f0277434b1:localhost:node-fc681a94-e112-48a8-9505-a9681b854a50:Node fc681a94-e112-48a8-9505-a9681b854a50 :: false |
createNodes | 1.442s |
2021-04-25 22:27:48 |
2021-04-25 22:27:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:48 | ------------------------------------ 2021-04-25 22:27:48 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fc681a94-e112-48a8-9505-a9681b854a50</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fc681a94-e112-48a8-9505-a9681b854a50</title></pubsub></data> 2021-04-25 22:27:48 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-25 22:27:49 | [Mutex] waiting for: [received:nodes:de406ec5-81c6-470b-9eb9-73a0537ff140:localhost] 2021-04-25 22:27:49 | [Mutex] received everything. 2021-04-25 22:27:49 | [Mutex] isItemNotified: received:node:de406ec5-81c6-470b-9eb9-73a0537ff140:localhost:node-fc681a94-e112-48a8-9505-a9681b854a50:Node fc681a94-e112-48a8-9505-a9681b854a50 :: true |
createSubnodes | 1.027s |
2021-04-25 22:27:49 |
2021-04-25 22:27:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:49 | ------------------------------------ 2021-04-25 22:27:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d5f54582-46d1-40cb-9fff-ea601401381b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d5f54582-46d1-40cb-9fff-ea601401381b</title></pubsub></data> 2021-04-25 22:27:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-25 22:27:50 | [Mutex] waiting for: [received:nodes:56c39eda-95b1-462f-a149-f08553b6e735:localhost] 2021-04-25 22:27:50 | [Mutex] received everything. 2021-04-25 22:27:50 | [Mutex] isItemNotified: received:node:56c39eda-95b1-462f-a149-f08553b6e735:localhost:node-d5f54582-46d1-40cb-9fff-ea601401381b:Node d5f54582-46d1-40cb-9fff-ea601401381b :: true |
deleteNodes | 1.017s |
2021-04-25 22:27:56 |
2021-04-25 22:27:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:56 | ------------------------------------ 2021-04-25 22:27:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d5f54582-46d1-40cb-9fff-ea601401381b</node></data> 2021-04-25 22:27:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-25 22:27:57 | [Mutex] waiting for: [received:nodes:7b17e80f-d873-4b18-b30d-4007f4445dba:localhost] 2021-04-25 22:27:57 | [Mutex] received everything. 2021-04-25 22:27:57 | [Mutex] isItemNotified: received:node:7b17e80f-d873-4b18-b30d-4007f4445dba:localhost:node-d5f54582-46d1-40cb-9fff-ea601401381b:Node d5f54582-46d1-40cb-9fff-ea601401381b :: false |
deleteSubnodes | 1.157s |
2021-04-25 22:27:55 |
2021-04-25 22:27:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:55 | ------------------------------------ 2021-04-25 22:27:55 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fc681a94-e112-48a8-9505-a9681b854a50</node></data> 2021-04-25 22:27:55 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-25 22:27:56 | [Mutex] waiting for: [received:nodes:660866c1-d6df-4483-b074-9317ae51aab0:localhost] 2021-04-25 22:27:56 | [Mutex] received everything. 2021-04-25 22:27:56 | [Mutex] isItemNotified: received:node:660866c1-d6df-4483-b074-9317ae51aab0:localhost:node-fc681a94-e112-48a8-9505-a9681b854a50:Node fc681a94-e112-48a8-9505-a9681b854a50 :: false 2021-04-25 22:27:56 | [Mutex] waiting for: [received:nodes:d9d840ec-f660-4641-b23c-b0bf1e9dbaeb:localhost] 2021-04-25 22:27:56 | [Mutex] received everything. 2021-04-25 22:27:56 | [Mutex] isItemNotified: received:node:d9d840ec-f660-4641-b23c-b0bf1e9dbaeb:localhost:node-fc681a94-e112-48a8-9505-a9681b854a50:Node fc681a94-e112-48a8-9505-a9681b854a50 :: false |
publishItemsToNodes | 0.285s |
2021-04-25 22:27:53 |
2021-04-25 22:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:53 | ------------------------------------ 2021-04-25 22:27:53 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-fc681a94-e112-48a8-9505-a9681b854a50</node><item-id>item-b210043e-f538-425d-bb30-2a168c3001cd</item-id><entry><test>item-b210043e-f538-425d-bb30-2a168c3001cd</test></entry></data> 2021-04-25 22:27:53 | 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-b210043e-f538-425d-bb30-2a168c3001cd</value></item-id></result> 2021-04-25 22:27:53 | [Mutex] received everything. 2021-04-25 22:27:53 | [Mutex] isItemNotified: published:item:notifieditem-b210043e-f538-425d-bb30-2a168c3001cd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.319s |
2021-04-25 22:27:53 |
2021-04-25 22:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:53 | ------------------------------------ 2021-04-25 22:27:53 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-fc681a94-e112-48a8-9505-a9681b854a50</node><item-id>item-b210043e-f538-425d-bb30-2a168c3001cd</item-id></data> 2021-04-25 22:27:54 | 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-b210043e-f538-425d-bb30-2a168c3001cd</value></item-id></result> 2021-04-25 22:27:54 | [Mutex] waiting for: [retracted:item:notifieditem-b210043e-f538-425d-bb30-2a168c3001cd:admin@test-domain.com] 2021-04-25 22:27:54 | [Mutex] received everything. 2021-04-25 22:27:54 | [Mutex] isItemNotified: retracted:item:notifieditem-b210043e-f538-425d-bb30-2a168c3001cd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.345s |
2021-04-25 22:27:53 |
2021-04-25 22:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:53 | ------------------------------------ 2021-04-25 22:27:53 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-fc681a94-e112-48a8-9505-a9681b854a50</node><item-id>item-b210043e-f538-425d-bb30-2a168c3001cd</item-id></data> 2021-04-25 22:27:53 | 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-fc681a94-e112-48a8-9505-a9681b854a50</value></node><item-id label="Item ID" type="text-single"><value>item-b210043e-f538-425d-bb30-2a168c3001cd</value></item-id><item label="Item" type="text-multi"><value><item id="item-b210043e-f538-425d-bb30-2a168c3001cd"><test>item-b210043e-f538-425d-bb30-2a168c3001cd</test></item></value></item></result> 2021-04-25 22:27:53 | [Mutex] notify: [retrieved:item:item-b210043e-f538-425d-bb30-2a168c3001cd:payload-matches:true:localhost] 2021-04-25 22:27:53 | [Mutex] received everything. 2021-04-25 22:27:53 | [Mutex] isItemNotified: retrieved:item:item-b210043e-f538-425d-bb30-2a168c3001cd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-04-25 22:27:53 |
2021-04-25 22:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:53 | ------------------------------------ 2021-04-25 22:27:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-25 22:27:53 | 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-fc681a94-e112-48a8-9505-a9681b854a50</value><value>node-d5f54582-46d1-40cb-9fff-ea601401381b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-04-25 22:27:53 |
2021-04-25 22:27:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:53 | ------------------------------------ 2021-04-25 22:27:53 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fc681a94-e112-48a8-9505-a9681b854a50)</node-pattern></data> 2021-04-25 22:27:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.177s |
2021-04-25 22:27:51 |
2021-04-25 22:27:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:51 | ------------------------------------ 2021-04-25 22:27:51 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-fc681a94-e112-48a8-9505-a9681b854a50</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-25 22:27:52 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.235s |
2021-04-25 22:27:54 |
2021-04-25 22:27:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-25 22:27:54 | ------------------------------------ 2021-04-25 22:27:54 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-fc681a94-e112-48a8-9505-a9681b854a50</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-25 22:27:54 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |