Test duration: 10.147s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.027s |
2020-06-26 00:22:26 |
2020-06-26 00:22:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:26 | ------------------------------------ 2020-06-26 00:22:26 | [Mutex] waiting for: [configured:node:node-c5d4aaa4-5149-428b-9c87-f109ba37dd68:node-b8d6c11e-d134-4e7e-a12e-ec9c7878d244] 2020-06-26 00:22:26 | [Mutex] received everything. 2020-06-26 00:22:26 | [Mutex] isItemNotified: configured:node:node-c5d4aaa4-5149-428b-9c87-f109ba37dd68:node-b8d6c11e-d134-4e7e-a12e-ec9c7878d244 :: true 2020-06-26 00:22:27 | [Mutex] waiting for: [received:nodes:3ee3e241-ebfa-4ea8-adc2-84aef9c9163c:localhost] 2020-06-26 00:22:27 | [Mutex] received everything. 2020-06-26 00:22:27 | [Mutex] isItemNotified: received:node:3ee3e241-ebfa-4ea8-adc2-84aef9c9163c:localhost:node-c5d4aaa4-5149-428b-9c87-f109ba37dd68:Node c5d4aaa4-5149-428b-9c87-f109ba37dd68 :: true 2020-06-26 00:22:27 | [Mutex] waiting for: [received:nodes:4de56e25-e103-42f3-bd07-f75a326a9922:localhost] 2020-06-26 00:22:27 | [Mutex] received everything. 2020-06-26 00:22:27 | [Mutex] isItemNotified: received:node:4de56e25-e103-42f3-bd07-f75a326a9922:localhost:node-c5d4aaa4-5149-428b-9c87-f109ba37dd68:Node c5d4aaa4-5149-428b-9c87-f109ba37dd68 :: false |
createNodes | 1.620s |
2020-06-26 00:22:24 |
2020-06-26 00:22:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:24 | ------------------------------------ 2020-06-26 00:22:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c5d4aaa4-5149-428b-9c87-f109ba37dd68</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c5d4aaa4-5149-428b-9c87-f109ba37dd68</title></pubsub></data> 2020-06-26 00:22:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-26 00:22:25 | [Mutex] waiting for: [received:nodes:2f50e679-0c84-4c27-8ce9-be70e8eac1f4:localhost] 2020-06-26 00:22:25 | [Mutex] received everything. 2020-06-26 00:22:25 | [Mutex] isItemNotified: received:node:2f50e679-0c84-4c27-8ce9-be70e8eac1f4:localhost:node-c5d4aaa4-5149-428b-9c87-f109ba37dd68:Node c5d4aaa4-5149-428b-9c87-f109ba37dd68 :: true |
createSubnodes | 1.024s |
2020-06-26 00:22:25 |
2020-06-26 00:22:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:25 | ------------------------------------ 2020-06-26 00:22:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-b8d6c11e-d134-4e7e-a12e-ec9c7878d244</node><owner>admin@localhost</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b8d6c11e-d134-4e7e-a12e-ec9c7878d244</title></pubsub></data> 2020-06-26 00:22:25 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-26 00:22:26 | [Mutex] waiting for: [received:nodes:611e53cf-7392-4e18-96fa-e0e060529aa1:localhost] 2020-06-26 00:22:26 | [Mutex] received everything. 2020-06-26 00:22:26 | [Mutex] isItemNotified: received:node:611e53cf-7392-4e18-96fa-e0e060529aa1:localhost:node-b8d6c11e-d134-4e7e-a12e-ec9c7878d244:Node b8d6c11e-d134-4e7e-a12e-ec9c7878d244 :: true |
deleteNodes | 1.017s |
2020-06-26 00:22:32 |
2020-06-26 00:22:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:32 | ------------------------------------ 2020-06-26 00:22:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-b8d6c11e-d134-4e7e-a12e-ec9c7878d244</node></data> 2020-06-26 00:22:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-26 00:22:33 | [Mutex] waiting for: [received:nodes:2db08f30-7678-4a0d-ac38-1afea4d72d44:localhost] 2020-06-26 00:22:33 | [Mutex] received everything. 2020-06-26 00:22:33 | [Mutex] isItemNotified: received:node:2db08f30-7678-4a0d-ac38-1afea4d72d44:localhost:node-b8d6c11e-d134-4e7e-a12e-ec9c7878d244:Node b8d6c11e-d134-4e7e-a12e-ec9c7878d244 :: false |
deleteSubnodes | 1.158s |
2020-06-26 00:22:31 |
2020-06-26 00:22:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:31 | ------------------------------------ 2020-06-26 00:22:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c5d4aaa4-5149-428b-9c87-f109ba37dd68</node></data> 2020-06-26 00:22:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-06-26 00:22:32 | [Mutex] waiting for: [received:nodes:aa8fa880-df35-4942-bf53-e0f8f8e916f9:localhost] 2020-06-26 00:22:32 | [Mutex] received everything. 2020-06-26 00:22:32 | [Mutex] isItemNotified: received:node:aa8fa880-df35-4942-bf53-e0f8f8e916f9:localhost:node-c5d4aaa4-5149-428b-9c87-f109ba37dd68:Node c5d4aaa4-5149-428b-9c87-f109ba37dd68 :: false 2020-06-26 00:22:32 | [Mutex] waiting for: [received:nodes:0c21aac7-4d21-44fc-bd58-3700e9d1fcfa:localhost] 2020-06-26 00:22:32 | [Mutex] received everything. 2020-06-26 00:22:32 | [Mutex] isItemNotified: received:node:0c21aac7-4d21-44fc-bd58-3700e9d1fcfa:localhost:node-c5d4aaa4-5149-428b-9c87-f109ba37dd68:Node c5d4aaa4-5149-428b-9c87-f109ba37dd68 :: false |
publishItemsToNodes | 0.178s |
2020-06-26 00:22:29 |
2020-06-26 00:22:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:29 | ------------------------------------ 2020-06-26 00:22:29 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c5d4aaa4-5149-428b-9c87-f109ba37dd68</node><item-id>item-c1059975-aec8-402b-a053-da2a6e610e9a</item-id><entry><test>item-c1059975-aec8-402b-a053-da2a6e610e9a</test></entry></data> 2020-06-26 00:22:29 | 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-c1059975-aec8-402b-a053-da2a6e610e9a</value></item-id></result> 2020-06-26 00:22:29 | [Mutex] waiting for: [published:item:notifieditem-c1059975-aec8-402b-a053-da2a6e610e9a:admin@localhost] 2020-06-26 00:22:29 | [Mutex] received everything. 2020-06-26 00:22:29 | [Mutex] isItemNotified: published:item:notifieditem-c1059975-aec8-402b-a053-da2a6e610e9a:admin@localhost :: true |
retractItemsFromNodes | 0.312s |
2020-06-26 00:22:29 |
2020-06-26 00:22:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:29 | ------------------------------------ 2020-06-26 00:22:29 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c5d4aaa4-5149-428b-9c87-f109ba37dd68</node><item-id>item-c1059975-aec8-402b-a053-da2a6e610e9a</item-id></data> 2020-06-26 00:22:29 | 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-c1059975-aec8-402b-a053-da2a6e610e9a</value></item-id></result> 2020-06-26 00:22:29 | [Mutex] received everything. 2020-06-26 00:22:29 | [Mutex] isItemNotified: retracted:item:notifieditem-c1059975-aec8-402b-a053-da2a6e610e9a:admin@localhost :: true |
retrieveItemsFromNodes | 0.196s |
2020-06-26 00:22:29 |
2020-06-26 00:22:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:29 | ------------------------------------ 2020-06-26 00:22:29 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c5d4aaa4-5149-428b-9c87-f109ba37dd68</node><item-id>item-c1059975-aec8-402b-a053-da2a6e610e9a</item-id></data> 2020-06-26 00:22:29 | 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-c5d4aaa4-5149-428b-9c87-f109ba37dd68</value></node><item-id type="text-single" label="Item ID"><value>item-c1059975-aec8-402b-a053-da2a6e610e9a</value></item-id><item type="text-multi" label="Item"><value><item id="item-c1059975-aec8-402b-a053-da2a6e610e9a"><test>item-c1059975-aec8-402b-a053-da2a6e610e9a</test></item></value></item></result> 2020-06-26 00:22:29 | [Mutex] notify: [retrieved:item:item-c1059975-aec8-402b-a053-da2a6e610e9a:payload-matches:true:localhost] 2020-06-26 00:22:29 | [Mutex] received everything. 2020-06-26 00:22:29 | [Mutex] isItemNotified: retrieved:item:item-c1059975-aec8-402b-a053-da2a6e610e9a:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.224s |
2020-06-26 00:22:29 |
2020-06-26 00:22:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:29 | ------------------------------------ 2020-06-26 00:22:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid></data> 2020-06-26 00:22:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-c5d4aaa4-5149-428b-9c87-f109ba37dd68</value><value>node-b8d6c11e-d134-4e7e-a12e-ec9c7878d244</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-06-26 00:22:29 |
2020-06-26 00:22:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:29 | ------------------------------------ 2020-06-26 00:22:29 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@localhost</jid><node-pattern>(?!node-c5d4aaa4-5149-428b-9c87-f109ba37dd68)</node-pattern></data> 2020-06-26 00:22:29 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.156s |
2020-06-26 00:22:27 |
2020-06-26 00:22:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:27 | ------------------------------------ 2020-06-26 00:22:27 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c5d4aaa4-5149-428b-9c87-f109ba37dd68</node><jids><value>admin@localhost</value></jids></data> 2020-06-26 00:22:28 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.248s |
2020-06-26 00:22:29 |
2020-06-26 00:22:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-06-26 00:22:29 | ------------------------------------ 2020-06-26 00:22:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c5d4aaa4-5149-428b-9c87-f109ba37dd68</node><jids><value>admin@localhost</value></jids></data> 2020-06-26 00:22:30 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |