Test duration : 9.684s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.113s |
2020-10-23 22:29:56 |
2020-10-23 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:56 | ------------------------------------ 2020-10-23 22:29:56 | [Mutex] waiting for: [configured:node:node-39e56e82-57d6-4971-aecb-7f1afc337feb:node-d042649e-9794-440e-9777-ca136ee138f3] 2020-10-23 22:29:57 | [Mutex] received everything. 2020-10-23 22:29:57 | [Mutex] isItemNotified: configured:node:node-39e56e82-57d6-4971-aecb-7f1afc337feb:node-d042649e-9794-440e-9777-ca136ee138f3 :: true 2020-10-23 22:29:58 | [Mutex] waiting for: [received:nodes:0c085628-d6ad-4ca4-8617-3c36fbdd1ec3:localhost] 2020-10-23 22:29:58 | [Mutex] received everything. 2020-10-23 22:29:58 | [Mutex] isItemNotified: received:node:0c085628-d6ad-4ca4-8617-3c36fbdd1ec3:localhost:node-39e56e82-57d6-4971-aecb-7f1afc337feb:Node 39e56e82-57d6-4971-aecb-7f1afc337feb :: true 2020-10-23 22:29:58 | [Mutex] waiting for: [received:nodes:27b748dd-b3cd-4674-821a-cb6300638032:localhost] 2020-10-23 22:29:58 | [Mutex] received everything. 2020-10-23 22:29:58 | [Mutex] isItemNotified: received:node:27b748dd-b3cd-4674-821a-cb6300638032:localhost:node-39e56e82-57d6-4971-aecb-7f1afc337feb:Node 39e56e82-57d6-4971-aecb-7f1afc337feb :: false |
createNodes | 1.508s |
2020-10-23 22:29:54 |
2020-10-23 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:54 | ------------------------------------ 2020-10-23 22:29:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-39e56e82-57d6-4971-aecb-7f1afc337feb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 39e56e82-57d6-4971-aecb-7f1afc337feb</title></pubsub></data> 2020-10-23 22:29:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-23 22:29:55 | [Mutex] waiting for: [received:nodes:1b1f7fd7-673b-4885-a61e-e7bfd2053eb9:localhost] 2020-10-23 22:29:55 | [Mutex] received everything. 2020-10-23 22:29:55 | [Mutex] isItemNotified: received:node:1b1f7fd7-673b-4885-a61e-e7bfd2053eb9:localhost:node-39e56e82-57d6-4971-aecb-7f1afc337feb:Node 39e56e82-57d6-4971-aecb-7f1afc337feb :: true |
createSubnodes | 1.026s |
2020-10-23 22:29:55 |
2020-10-23 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:55 | ------------------------------------ 2020-10-23 22:29:55 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d042649e-9794-440e-9777-ca136ee138f3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d042649e-9794-440e-9777-ca136ee138f3</title></pubsub></data> 2020-10-23 22:29:55 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-23 22:29:56 | [Mutex] waiting for: [received:nodes:de6cc66d-9246-4c05-bc9b-cb83f7e370c6:localhost] 2020-10-23 22:29:56 | [Mutex] waiting for: [received:nodes:de6cc66d-9246-4c05-bc9b-cb83f7e370c6:localhost] 2020-10-23 22:29:56 | [Mutex] received everything. 2020-10-23 22:29:56 | [Mutex] isItemNotified: received:node:de6cc66d-9246-4c05-bc9b-cb83f7e370c6:localhost:node-d042649e-9794-440e-9777-ca136ee138f3:Node d042649e-9794-440e-9777-ca136ee138f3 :: true |
deleteNodes | 1.019s |
2020-10-23 22:30:02 |
2020-10-23 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:30:02 | ------------------------------------ 2020-10-23 22:30:02 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d042649e-9794-440e-9777-ca136ee138f3</node></data> 2020-10-23 22:30:02 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-23 22:30:03 | [Mutex] waiting for: [received:nodes:a737202b-9599-4e76-8056-4716d7a1fadc:localhost] 2020-10-23 22:30:03 | [Mutex] received everything. 2020-10-23 22:30:03 | [Mutex] isItemNotified: received:node:a737202b-9599-4e76-8056-4716d7a1fadc:localhost:node-d042649e-9794-440e-9777-ca136ee138f3:Node d042649e-9794-440e-9777-ca136ee138f3 :: false |
deleteSubnodes | 1.137s |
2020-10-23 22:30:01 |
2020-10-23 22:30:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:30:01 | ------------------------------------ 2020-10-23 22:30:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-39e56e82-57d6-4971-aecb-7f1afc337feb</node></data> 2020-10-23 22:30:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-23 22:30:02 | [Mutex] waiting for: [received:nodes:12c9925a-846f-4517-a176-31111093ba59:localhost] 2020-10-23 22:30:02 | [Mutex] received everything. 2020-10-23 22:30:02 | [Mutex] isItemNotified: received:node:12c9925a-846f-4517-a176-31111093ba59:localhost:node-39e56e82-57d6-4971-aecb-7f1afc337feb:Node 39e56e82-57d6-4971-aecb-7f1afc337feb :: false 2020-10-23 22:30:02 | [Mutex] waiting for: [received:nodes:c930f608-ab3b-4bb6-8141-2b7043352235:localhost] 2020-10-23 22:30:02 | [Mutex] received everything. 2020-10-23 22:30:02 | [Mutex] isItemNotified: received:node:c930f608-ab3b-4bb6-8141-2b7043352235:localhost:node-39e56e82-57d6-4971-aecb-7f1afc337feb:Node 39e56e82-57d6-4971-aecb-7f1afc337feb :: false |
publishItemsToNodes | 0.175s |
2020-10-23 22:29:59 |
2020-10-23 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:59 | ------------------------------------ 2020-10-23 22:29:59 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-39e56e82-57d6-4971-aecb-7f1afc337feb</node><item-id>item-28420cc2-848c-465a-bf27-d141ff107914</item-id><entry><test>item-28420cc2-848c-465a-bf27-d141ff107914</test></entry></data> 2020-10-23 22:29:59 | 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-28420cc2-848c-465a-bf27-d141ff107914</value></item-id></result> 2020-10-23 22:29:59 | [Mutex] received everything. 2020-10-23 22:29:59 | [Mutex] isItemNotified: published:item:notifieditem-28420cc2-848c-465a-bf27-d141ff107914:admin@test-domain.com :: true |
retractItemsFromNodes | 0.188s |
2020-10-23 22:29:59 |
2020-10-23 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:59 | ------------------------------------ 2020-10-23 22:29:59 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-39e56e82-57d6-4971-aecb-7f1afc337feb</node><item-id>item-28420cc2-848c-465a-bf27-d141ff107914</item-id></data> 2020-10-23 22:29:59 | 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-28420cc2-848c-465a-bf27-d141ff107914</value></item-id></result> 2020-10-23 22:29:59 | [Mutex] received everything. 2020-10-23 22:29:59 | [Mutex] isItemNotified: retracted:item:notifieditem-28420cc2-848c-465a-bf27-d141ff107914:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.216s |
2020-10-23 22:29:59 |
2020-10-23 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:59 | ------------------------------------ 2020-10-23 22:29:59 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-39e56e82-57d6-4971-aecb-7f1afc337feb</node><item-id>item-28420cc2-848c-465a-bf27-d141ff107914</item-id></data> 2020-10-23 22:29:59 | 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-39e56e82-57d6-4971-aecb-7f1afc337feb</value></node><item-id type="text-single" label="Item ID"><value>item-28420cc2-848c-465a-bf27-d141ff107914</value></item-id><item type="text-multi" label="Item"><value><item id="item-28420cc2-848c-465a-bf27-d141ff107914"><test>item-28420cc2-848c-465a-bf27-d141ff107914</test></item></value></item></result> 2020-10-23 22:29:59 | [Mutex] notify: [retrieved:item:item-28420cc2-848c-465a-bf27-d141ff107914:payload-matches:true:localhost] 2020-10-23 22:29:59 | [Mutex] received everything. 2020-10-23 22:29:59 | [Mutex] isItemNotified: retrieved:item:item-28420cc2-848c-465a-bf27-d141ff107914:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2020-10-23 22:29:59 |
2020-10-23 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:59 | ------------------------------------ 2020-10-23 22:29:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-23 22:29:59 | 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-39e56e82-57d6-4971-aecb-7f1afc337feb</value><value>node-d042649e-9794-440e-9777-ca136ee138f3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-10-23 22:29:59 |
2020-10-23 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:59 | ------------------------------------ 2020-10-23 22:29:59 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-39e56e82-57d6-4971-aecb-7f1afc337feb)</node-pattern></data> 2020-10-23 22:29:59 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.092s |
2020-10-23 22:29:58 |
2020-10-23 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:58 | ------------------------------------ 2020-10-23 22:29:58 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-39e56e82-57d6-4971-aecb-7f1afc337feb</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-23 22:29:58 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.243s |
2020-10-23 22:29:59 |
2020-10-23 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-23 22:29:59 | ------------------------------------ 2020-10-23 22:29:59 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-39e56e82-57d6-4971-aecb-7f1afc337feb</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-23 22:30:00 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |