Test duration : 9.966s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2020-09-25 16:29:52 |
2020-09-25 16:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:52 | ------------------------------------ 2020-09-25 16:29:52 | [Mutex] waiting for: [configured:node:node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282:node-879c4256-9f6f-4acf-a420-01373bdd0feb] 2020-09-25 16:29:52 | [Mutex] received everything. 2020-09-25 16:29:52 | [Mutex] isItemNotified: configured:node:node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282:node-879c4256-9f6f-4acf-a420-01373bdd0feb :: true 2020-09-25 16:29:53 | [Mutex] waiting for: [received:nodes:da431f02-9814-422f-8e64-7b74ecf2b961:localhost] 2020-09-25 16:29:53 | [Mutex] received everything. 2020-09-25 16:29:53 | [Mutex] isItemNotified: received:node:da431f02-9814-422f-8e64-7b74ecf2b961:localhost:node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282:Node 690aa4d6-ffdf-4496-bc4d-f42a1f2fd282 :: true 2020-09-25 16:29:53 | [Mutex] waiting for: [received:nodes:885bbda8-21a6-4b80-bb31-df68b4c37cb7:localhost] 2020-09-25 16:29:53 | [Mutex] received everything. 2020-09-25 16:29:53 | [Mutex] isItemNotified: received:node:885bbda8-21a6-4b80-bb31-df68b4c37cb7:localhost:node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282:Node 690aa4d6-ffdf-4496-bc4d-f42a1f2fd282 :: false |
createNodes | 1.476s |
2020-09-25 16:29:50 |
2020-09-25 16:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:50 | ------------------------------------ 2020-09-25 16:29:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</title></pubsub></data> 2020-09-25 16:29:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 16:29:51 | [Mutex] waiting for: [received:nodes:858b8575-efbd-415f-96bf-62444b291a09:localhost] 2020-09-25 16:29:51 | [Mutex] received everything. 2020-09-25 16:29:51 | [Mutex] isItemNotified: received:node:858b8575-efbd-415f-96bf-62444b291a09:localhost:node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282:Node 690aa4d6-ffdf-4496-bc4d-f42a1f2fd282 :: true |
createSubnodes | 1.019s |
2020-09-25 16:29:51 |
2020-09-25 16:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:51 | ------------------------------------ 2020-09-25 16:29:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-879c4256-9f6f-4acf-a420-01373bdd0feb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 879c4256-9f6f-4acf-a420-01373bdd0feb</title></pubsub></data> 2020-09-25 16:29:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 16:29:52 | [Mutex] waiting for: [received:nodes:7446ea7c-9aec-4fe4-870a-a8c8bfdbcf0c:localhost] 2020-09-25 16:29:52 | [Mutex] received everything. 2020-09-25 16:29:52 | [Mutex] isItemNotified: received:node:7446ea7c-9aec-4fe4-870a-a8c8bfdbcf0c:localhost:node-879c4256-9f6f-4acf-a420-01373bdd0feb:Node 879c4256-9f6f-4acf-a420-01373bdd0feb :: true |
deleteNodes | 1.016s |
2020-09-25 16:29:58 |
2020-09-25 16:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:58 | ------------------------------------ 2020-09-25 16:29:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-879c4256-9f6f-4acf-a420-01373bdd0feb</node></data> 2020-09-25 16:29:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 16:29:59 | [Mutex] waiting for: [received:nodes:3e69df24-0acf-44b6-9016-7d23e58e93ab:localhost] 2020-09-25 16:29:59 | [Mutex] received everything. 2020-09-25 16:29:59 | [Mutex] isItemNotified: received:node:3e69df24-0acf-44b6-9016-7d23e58e93ab:localhost:node-879c4256-9f6f-4acf-a420-01373bdd0feb:Node 879c4256-9f6f-4acf-a420-01373bdd0feb :: false |
deleteSubnodes | 1.126s |
2020-09-25 16:29:57 |
2020-09-25 16:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:57 | ------------------------------------ 2020-09-25 16:29:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</node></data> 2020-09-25 16:29:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-25 16:29:58 | [Mutex] waiting for: [received:nodes:8c230b97-bf46-429d-bf55-a6a55786b88f:localhost] 2020-09-25 16:29:58 | [Mutex] received everything. 2020-09-25 16:29:58 | [Mutex] isItemNotified: received:node:8c230b97-bf46-429d-bf55-a6a55786b88f:localhost:node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282:Node 690aa4d6-ffdf-4496-bc4d-f42a1f2fd282 :: false 2020-09-25 16:29:58 | [Mutex] waiting for: [received:nodes:055d52c9-4e3a-4114-a6b5-02fb3285672f:localhost] 2020-09-25 16:29:58 | [Mutex] received everything. 2020-09-25 16:29:58 | [Mutex] isItemNotified: received:node:055d52c9-4e3a-4114-a6b5-02fb3285672f:localhost:node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282:Node 690aa4d6-ffdf-4496-bc4d-f42a1f2fd282 :: false |
publishItemsToNodes | 0.243s |
2020-09-25 16:29:55 |
2020-09-25 16:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:55 | ------------------------------------ 2020-09-25 16:29:55 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</node><item-id>item-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a</item-id><entry><test>item-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a</test></entry></data> 2020-09-25 16:29:55 | 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-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a</value></item-id></result> 2020-09-25 16:29:55 | [Mutex] waiting for: [published:item:notifieditem-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a:admin@test-domain.com] 2020-09-25 16:29:55 | [Mutex] received everything. 2020-09-25 16:29:55 | [Mutex] isItemNotified: published:item:notifieditem-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a:admin@test-domain.com :: true |
retractItemsFromNodes | 0.283s |
2020-09-25 16:29:55 |
2020-09-25 16:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:55 | ------------------------------------ 2020-09-25 16:29:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</node><item-id>item-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a</item-id></data> 2020-09-25 16:29:55 | 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-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a</value></item-id></result> 2020-09-25 16:29:55 | [Mutex] received everything. 2020-09-25 16:29:55 | [Mutex] isItemNotified: retracted:item:notifieditem-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.227s |
2020-09-25 16:29:55 |
2020-09-25 16:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:55 | ------------------------------------ 2020-09-25 16:29:55 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</node><item-id>item-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a</item-id></data> 2020-09-25 16:29:55 | 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-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</value></node><item-id label="Item ID" type="text-single"><value>item-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a</value></item-id><item label="Item" type="text-multi"><value><item id="item-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a"><test>item-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a</test></item></value></item></result> 2020-09-25 16:29:55 | [Mutex] notify: [retrieved:item:item-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a:payload-matches:true:localhost] 2020-09-25 16:29:55 | [Mutex] received everything. 2020-09-25 16:29:55 | [Mutex] isItemNotified: retrieved:item:item-0e3d134d-0dfb-49eb-b8aa-24c83c5e651a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-25 16:29:55 |
2020-09-25 16:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:55 | ------------------------------------ 2020-09-25 16:29:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-25 16:29:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-879c4256-9f6f-4acf-a420-01373bdd0feb</value><value>test</value><value>node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-09-25 16:29:55 |
2020-09-25 16:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:55 | ------------------------------------ 2020-09-25 16:29:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282)</node-pattern></data> 2020-09-25 16:29:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.156s |
2020-09-25 16:29:53 |
2020-09-25 16:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:53 | ------------------------------------ 2020-09-25 16:29:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-25 16:29:54 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.275s |
2020-09-25 16:29:55 |
2020-09-25 16:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-25 16:29:55 | ------------------------------------ 2020-09-25 16:29:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-690aa4d6-ffdf-4496-bc4d-f42a1f2fd282</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-25 16:29:56 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |