Test duration : 9.487s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.090s |
2022-05-01 23:19:55 |
2022-05-01 23:19:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:55 | ------------------------------------ 2022-05-01 23:19:55 | [Mutex] waiting for: [configured:node:node-6c059859-7a2f-462c-8746-594e0f4e165c:node-4e99cc9c-4557-4175-88c8-654da365f9fd] 2022-05-01 23:19:55 | [Mutex] received everything. 2022-05-01 23:19:55 | [Mutex] isItemNotified: configured:node:node-6c059859-7a2f-462c-8746-594e0f4e165c:node-4e99cc9c-4557-4175-88c8-654da365f9fd :: true 2022-05-01 23:19:56 | [Mutex] waiting for: [received:nodes:096cbf0e-aa5a-4d29-8840-267dcf9725d0:localhost] 2022-05-01 23:19:56 | [Mutex] received everything. 2022-05-01 23:19:56 | [Mutex] isItemNotified: received:node:096cbf0e-aa5a-4d29-8840-267dcf9725d0:localhost:node-6c059859-7a2f-462c-8746-594e0f4e165c:Node 6c059859-7a2f-462c-8746-594e0f4e165c :: true 2022-05-01 23:19:56 | [Mutex] waiting for: [received:nodes:9b554850-7fdf-433f-a0ea-cb72c8efac98:localhost] 2022-05-01 23:19:56 | [Mutex] waiting for: [received:nodes:9b554850-7fdf-433f-a0ea-cb72c8efac98:localhost] 2022-05-01 23:19:56 | [Mutex] received everything. 2022-05-01 23:19:56 | [Mutex] isItemNotified: received:node:9b554850-7fdf-433f-a0ea-cb72c8efac98:localhost:node-6c059859-7a2f-462c-8746-594e0f4e165c:Node 6c059859-7a2f-462c-8746-594e0f4e165c :: false |
createNodes | 1.397s |
2022-05-01 23:19:53 |
2022-05-01 23:19:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:53 | ------------------------------------ 2022-05-01 23:19:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6c059859-7a2f-462c-8746-594e0f4e165c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6c059859-7a2f-462c-8746-594e0f4e165c</title></pubsub></data> 2022-05-01 23:19:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 23:19:54 | [Mutex] waiting for: [received:nodes:a5b4a1da-a042-4986-b3fb-b2a4b368338e:localhost] 2022-05-01 23:19:54 | [Mutex] waiting for: [received:nodes:a5b4a1da-a042-4986-b3fb-b2a4b368338e:localhost] 2022-05-01 23:19:54 | [Mutex] received everything. 2022-05-01 23:19:54 | [Mutex] isItemNotified: received:node:a5b4a1da-a042-4986-b3fb-b2a4b368338e:localhost:node-6c059859-7a2f-462c-8746-594e0f4e165c:Node 6c059859-7a2f-462c-8746-594e0f4e165c :: true |
createSubnodes | 1.022s |
2022-05-01 23:19:54 |
2022-05-01 23:19:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:54 | ------------------------------------ 2022-05-01 23:19:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4e99cc9c-4557-4175-88c8-654da365f9fd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4e99cc9c-4557-4175-88c8-654da365f9fd</title></pubsub></data> 2022-05-01 23:19:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 23:19:55 | [Mutex] waiting for: [received:nodes:4f191eea-8c3b-4e5b-b7a0-4234c37229de:localhost] 2022-05-01 23:19:55 | [Mutex] waiting for: [received:nodes:4f191eea-8c3b-4e5b-b7a0-4234c37229de:localhost] 2022-05-01 23:19:55 | [Mutex] received everything. 2022-05-01 23:19:55 | [Mutex] isItemNotified: received:node:4f191eea-8c3b-4e5b-b7a0-4234c37229de:localhost:node-4e99cc9c-4557-4175-88c8-654da365f9fd:Node 4e99cc9c-4557-4175-88c8-654da365f9fd :: true |
deleteNodes | 1.017s |
2022-05-01 23:20:00 |
2022-05-01 23:20:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:20:00 | ------------------------------------ 2022-05-01 23:20:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4e99cc9c-4557-4175-88c8-654da365f9fd</node></data> 2022-05-01 23:20:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 23:20:01 | [Mutex] waiting for: [received:nodes:2eb73178-f1db-4bb4-aa7a-ad926e73dce4:localhost] 2022-05-01 23:20:01 | [Mutex] waiting for: [received:nodes:2eb73178-f1db-4bb4-aa7a-ad926e73dce4:localhost] 2022-05-01 23:20:01 | [Mutex] received everything. 2022-05-01 23:20:01 | [Mutex] isItemNotified: received:node:2eb73178-f1db-4bb4-aa7a-ad926e73dce4:localhost:node-4e99cc9c-4557-4175-88c8-654da365f9fd:Node 4e99cc9c-4557-4175-88c8-654da365f9fd :: false |
deleteSubnodes | 1.116s |
2022-05-01 23:19:59 |
2022-05-01 23:19:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:59 | ------------------------------------ 2022-05-01 23:19:59 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6c059859-7a2f-462c-8746-594e0f4e165c</node></data> 2022-05-01 23:19:59 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-05-01 23:20:00 | [Mutex] waiting for: [received:nodes:370c49ce-12fc-4184-b164-290660d464e8:localhost] 2022-05-01 23:20:00 | [Mutex] received everything. 2022-05-01 23:20:00 | [Mutex] isItemNotified: received:node:370c49ce-12fc-4184-b164-290660d464e8:localhost:node-6c059859-7a2f-462c-8746-594e0f4e165c:Node 6c059859-7a2f-462c-8746-594e0f4e165c :: false 2022-05-01 23:20:00 | [Mutex] waiting for: [received:nodes:a37d9127-59bf-442a-9aab-660273e42573:localhost] 2022-05-01 23:20:00 | [Mutex] received everything. 2022-05-01 23:20:00 | [Mutex] isItemNotified: received:node:a37d9127-59bf-442a-9aab-660273e42573:localhost:node-6c059859-7a2f-462c-8746-594e0f4e165c:Node 6c059859-7a2f-462c-8746-594e0f4e165c :: false |
publishItemsToNodes | 0.226s |
2022-05-01 23:19:57 |
2022-05-01 23:19:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:57 | ------------------------------------ 2022-05-01 23:19:57 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6c059859-7a2f-462c-8746-594e0f4e165c</node><item-id>item-9e344f4a-d47a-4e87-864d-c04b1ea808b3</item-id><entry><test>item-9e344f4a-d47a-4e87-864d-c04b1ea808b3</test></entry></data> 2022-05-01 23:19:57 | 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-9e344f4a-d47a-4e87-864d-c04b1ea808b3</value></item-id></result> 2022-05-01 23:19:57 | [Mutex] waiting for: [published:item:notifieditem-9e344f4a-d47a-4e87-864d-c04b1ea808b3:admin@test-domain.com] 2022-05-01 23:19:57 | [Mutex] received everything. 2022-05-01 23:19:57 | [Mutex] isItemNotified: published:item:notifieditem-9e344f4a-d47a-4e87-864d-c04b1ea808b3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.290s |
2022-05-01 23:19:58 |
2022-05-01 23:19:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:58 | ------------------------------------ 2022-05-01 23:19:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6c059859-7a2f-462c-8746-594e0f4e165c</node><item-id>item-9e344f4a-d47a-4e87-864d-c04b1ea808b3</item-id></data> 2022-05-01 23:19:58 | 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-9e344f4a-d47a-4e87-864d-c04b1ea808b3</value></item-id></result> 2022-05-01 23:19:58 | [Mutex] waiting for: [retracted:item:notifieditem-9e344f4a-d47a-4e87-864d-c04b1ea808b3:admin@test-domain.com] 2022-05-01 23:19:58 | [Mutex] received everything. 2022-05-01 23:19:58 | [Mutex] isItemNotified: retracted:item:notifieditem-9e344f4a-d47a-4e87-864d-c04b1ea808b3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.128s |
2022-05-01 23:19:57 |
2022-05-01 23:19:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:57 | ------------------------------------ 2022-05-01 23:19:57 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6c059859-7a2f-462c-8746-594e0f4e165c</node><item-id>item-9e344f4a-d47a-4e87-864d-c04b1ea808b3</item-id></data> 2022-05-01 23:19:58 | 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-6c059859-7a2f-462c-8746-594e0f4e165c</value></node><item-id label="Item ID" type="text-single"><value>item-9e344f4a-d47a-4e87-864d-c04b1ea808b3</value></item-id><item label="Item" type="text-multi"><value><item id="item-9e344f4a-d47a-4e87-864d-c04b1ea808b3"><test>item-9e344f4a-d47a-4e87-864d-c04b1ea808b3</test></item></value></item></result> 2022-05-01 23:19:58 | [Mutex] notify: [retrieved:item:item-9e344f4a-d47a-4e87-864d-c04b1ea808b3:payload-matches:true:localhost] 2022-05-01 23:19:58 | [Mutex] received everything. 2022-05-01 23:19:58 | [Mutex] isItemNotified: retrieved:item:item-9e344f4a-d47a-4e87-864d-c04b1ea808b3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2022-05-01 23:19:58 |
2022-05-01 23:19:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:58 | ------------------------------------ 2022-05-01 23:19:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-05-01 23:19:58 | 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-6c059859-7a2f-462c-8746-594e0f4e165c</value><value>node-4e99cc9c-4557-4175-88c8-654da365f9fd</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-05-01 23:19:58 |
2022-05-01 23:19:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:58 | ------------------------------------ 2022-05-01 23:19:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6c059859-7a2f-462c-8746-594e0f4e165c)</node-pattern></data> 2022-05-01 23:19:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.118s |
2022-05-01 23:19:56 |
2022-05-01 23:19:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:56 | ------------------------------------ 2022-05-01 23:19:56 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6c059859-7a2f-462c-8746-594e0f4e165c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-01 23:19:56 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.276s |
2022-05-01 23:19:58 |
2022-05-01 23:19:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 23:19:58 | ------------------------------------ 2022-05-01 23:19:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6c059859-7a2f-462c-8746-594e0f4e165c</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-01 23:19:58 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |