Test duration : 10.111s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.127s |
2020-11-23 21:58:52 |
2020-11-23 21:58:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:52 | ------------------------------------ 2020-11-23 21:58:52 | [Mutex] waiting for: [configured:node:node-5de03df5-e0e3-4982-97fe-ac8e25edc96e:node-6db6b77e-ece5-45ae-ac0d-0e62cda60a58] 2020-11-23 21:58:52 | [Mutex] received everything. 2020-11-23 21:58:52 | [Mutex] isItemNotified: configured:node:node-5de03df5-e0e3-4982-97fe-ac8e25edc96e:node-6db6b77e-ece5-45ae-ac0d-0e62cda60a58 :: true 2020-11-23 21:58:53 | [Mutex] waiting for: [received:nodes:02a892bc-7415-4bfa-b7d0-9b673dfa5805:localhost] 2020-11-23 21:58:53 | [Mutex] received everything. 2020-11-23 21:58:53 | [Mutex] isItemNotified: received:node:02a892bc-7415-4bfa-b7d0-9b673dfa5805:localhost:node-5de03df5-e0e3-4982-97fe-ac8e25edc96e:Node 5de03df5-e0e3-4982-97fe-ac8e25edc96e :: true 2020-11-23 21:58:53 | [Mutex] waiting for: [received:nodes:fbe086ce-2a68-4837-8834-c2d4b003bf05:localhost] 2020-11-23 21:58:53 | [Mutex] received everything. 2020-11-23 21:58:53 | [Mutex] isItemNotified: received:node:fbe086ce-2a68-4837-8834-c2d4b003bf05:localhost:node-5de03df5-e0e3-4982-97fe-ac8e25edc96e:Node 5de03df5-e0e3-4982-97fe-ac8e25edc96e :: false |
createNodes | 1.468s |
2020-11-23 21:58:50 |
2020-11-23 21:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:50 | ------------------------------------ 2020-11-23 21:58:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-5de03df5-e0e3-4982-97fe-ac8e25edc96e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5de03df5-e0e3-4982-97fe-ac8e25edc96e</title></pubsub></data> 2020-11-23 21:58:50 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-23 21:58:51 | [Mutex] waiting for: [received:nodes:90a6dc56-d467-4cb9-a7da-f35c4c357ea0:localhost] 2020-11-23 21:58:51 | [Mutex] received everything. 2020-11-23 21:58:51 | [Mutex] isItemNotified: received:node:90a6dc56-d467-4cb9-a7da-f35c4c357ea0:localhost:node-5de03df5-e0e3-4982-97fe-ac8e25edc96e:Node 5de03df5-e0e3-4982-97fe-ac8e25edc96e :: true |
createSubnodes | 1.024s |
2020-11-23 21:58:51 |
2020-11-23 21:58:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:51 | ------------------------------------ 2020-11-23 21:58:51 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6db6b77e-ece5-45ae-ac0d-0e62cda60a58</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6db6b77e-ece5-45ae-ac0d-0e62cda60a58</title></pubsub></data> 2020-11-23 21:58:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-23 21:58:52 | [Mutex] waiting for: [received:nodes:3bd16c6e-8f3a-4546-b5fa-0830bfc5655f:localhost] 2020-11-23 21:58:52 | [Mutex] received everything. 2020-11-23 21:58:52 | [Mutex] isItemNotified: received:node:3bd16c6e-8f3a-4546-b5fa-0830bfc5655f:localhost:node-6db6b77e-ece5-45ae-ac0d-0e62cda60a58:Node 6db6b77e-ece5-45ae-ac0d-0e62cda60a58 :: true |
deleteNodes | 1.018s |
2020-11-23 21:58:58 |
2020-11-23 21:58:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:58 | ------------------------------------ 2020-11-23 21:58:58 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6db6b77e-ece5-45ae-ac0d-0e62cda60a58</node></data> 2020-11-23 21:58:58 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-23 21:58:59 | [Mutex] waiting for: [received:nodes:c783cccc-de6e-488e-be0b-4d197ad4247e:localhost] 2020-11-23 21:58:59 | [Mutex] waiting for: [received:nodes:c783cccc-de6e-488e-be0b-4d197ad4247e:localhost] 2020-11-23 21:58:59 | [Mutex] received everything. 2020-11-23 21:58:59 | [Mutex] isItemNotified: received:node:c783cccc-de6e-488e-be0b-4d197ad4247e:localhost:node-6db6b77e-ece5-45ae-ac0d-0e62cda60a58:Node 6db6b77e-ece5-45ae-ac0d-0e62cda60a58 :: false |
deleteSubnodes | 1.126s |
2020-11-23 21:58:56 |
2020-11-23 21:58:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:56 | ------------------------------------ 2020-11-23 21:58:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-5de03df5-e0e3-4982-97fe-ac8e25edc96e</node></data> 2020-11-23 21:58:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-23 21:58:58 | [Mutex] waiting for: [received:nodes:bcab37b1-222a-4237-a5a5-8581782dda26:localhost] 2020-11-23 21:58:58 | [Mutex] received everything. 2020-11-23 21:58:58 | [Mutex] isItemNotified: received:node:bcab37b1-222a-4237-a5a5-8581782dda26:localhost:node-5de03df5-e0e3-4982-97fe-ac8e25edc96e:Node 5de03df5-e0e3-4982-97fe-ac8e25edc96e :: false 2020-11-23 21:58:58 | [Mutex] waiting for: [received:nodes:aa2f18cf-a1e5-41be-902f-decdb72b6368:localhost] 2020-11-23 21:58:58 | [Mutex] received everything. 2020-11-23 21:58:58 | [Mutex] isItemNotified: received:node:aa2f18cf-a1e5-41be-902f-decdb72b6368:localhost:node-5de03df5-e0e3-4982-97fe-ac8e25edc96e:Node 5de03df5-e0e3-4982-97fe-ac8e25edc96e :: false |
publishItemsToNodes | 0.199s |
2020-11-23 21:58:54 |
2020-11-23 21:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:54 | ------------------------------------ 2020-11-23 21:58:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-5de03df5-e0e3-4982-97fe-ac8e25edc96e</node><item-id>item-999b4bdd-593b-417c-8825-57769eee4697</item-id><entry><test>item-999b4bdd-593b-417c-8825-57769eee4697</test></entry></data> 2020-11-23 21:58:54 | 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-999b4bdd-593b-417c-8825-57769eee4697</value></item-id></result> 2020-11-23 21:58:54 | [Mutex] waiting for: [published:item:notifieditem-999b4bdd-593b-417c-8825-57769eee4697:admin@test-domain.com] 2020-11-23 21:58:54 | [Mutex] received everything. 2020-11-23 21:58:54 | [Mutex] isItemNotified: published:item:notifieditem-999b4bdd-593b-417c-8825-57769eee4697:admin@test-domain.com :: true |
retractItemsFromNodes | 0.322s |
2020-11-23 21:58:55 |
2020-11-23 21:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:55 | ------------------------------------ 2020-11-23 21:58:55 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-5de03df5-e0e3-4982-97fe-ac8e25edc96e</node><item-id>item-999b4bdd-593b-417c-8825-57769eee4697</item-id></data> 2020-11-23 21:58:55 | 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-999b4bdd-593b-417c-8825-57769eee4697</value></item-id></result> 2020-11-23 21:58:55 | [Mutex] waiting for: [retracted:item:notifieditem-999b4bdd-593b-417c-8825-57769eee4697:admin@test-domain.com] 2020-11-23 21:58:55 | [Mutex] received everything. 2020-11-23 21:58:55 | [Mutex] isItemNotified: retracted:item:notifieditem-999b4bdd-593b-417c-8825-57769eee4697:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2020-11-23 21:58:54 |
2020-11-23 21:58:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:54 | ------------------------------------ 2020-11-23 21:58:54 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-5de03df5-e0e3-4982-97fe-ac8e25edc96e</node><item-id>item-999b4bdd-593b-417c-8825-57769eee4697</item-id></data> 2020-11-23 21:58:55 | 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-5de03df5-e0e3-4982-97fe-ac8e25edc96e</value></node><item-id type="text-single" label="Item ID"><value>item-999b4bdd-593b-417c-8825-57769eee4697</value></item-id><item type="text-multi" label="Item"><value><item id="item-999b4bdd-593b-417c-8825-57769eee4697"><test>item-999b4bdd-593b-417c-8825-57769eee4697</test></item></value></item></result> 2020-11-23 21:58:55 | [Mutex] notify: [retrieved:item:item-999b4bdd-593b-417c-8825-57769eee4697:payload-matches:true:localhost] 2020-11-23 21:58:55 | [Mutex] received everything. 2020-11-23 21:58:55 | [Mutex] isItemNotified: retrieved:item:item-999b4bdd-593b-417c-8825-57769eee4697:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-11-23 21:58:55 |
2020-11-23 21:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:55 | ------------------------------------ 2020-11-23 21:58:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-23 21:58:55 | 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-5de03df5-e0e3-4982-97fe-ac8e25edc96e</value><value>node-6db6b77e-ece5-45ae-ac0d-0e62cda60a58</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-11-23 21:58:55 |
2020-11-23 21:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:55 | ------------------------------------ 2020-11-23 21:58: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-5de03df5-e0e3-4982-97fe-ac8e25edc96e)</node-pattern></data> 2020-11-23 21:58:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.132s |
2020-11-23 21:58:53 |
2020-11-23 21:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:53 | ------------------------------------ 2020-11-23 21:58:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-5de03df5-e0e3-4982-97fe-ac8e25edc96e</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-23 21:58:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.237s |
2020-11-23 21:58:55 |
2020-11-23 21:58:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:58:55 | ------------------------------------ 2020-11-23 21:58:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-5de03df5-e0e3-4982-97fe-ac8e25edc96e</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-23 21:58:55 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |