Test duration : 9.627s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.089s |
2022-05-01 22:36:30 |
2022-05-01 22:36:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:30 | ------------------------------------ 2022-05-01 22:36:30 | [Mutex] waiting for: [configured:node:node-a48fe311-5b26-4850-9d86-c8537c839d4d:node-cc1a159f-46ad-4b1d-89c5-5ddd728587e3] 2022-05-01 22:36:30 | [Mutex] received everything. 2022-05-01 22:36:30 | [Mutex] isItemNotified: configured:node:node-a48fe311-5b26-4850-9d86-c8537c839d4d:node-cc1a159f-46ad-4b1d-89c5-5ddd728587e3 :: true 2022-05-01 22:36:31 | [Mutex] waiting for: [received:nodes:134b3a63-7a68-4d3b-bf7a-2aa28859de3c:localhost] 2022-05-01 22:36:31 | [Mutex] received everything. 2022-05-01 22:36:31 | [Mutex] isItemNotified: received:node:134b3a63-7a68-4d3b-bf7a-2aa28859de3c:localhost:node-a48fe311-5b26-4850-9d86-c8537c839d4d:Node a48fe311-5b26-4850-9d86-c8537c839d4d :: true 2022-05-01 22:36:31 | [Mutex] waiting for: [received:nodes:5c5ce78d-2ac6-4cf9-b7e2-1cbf120fc9c6:localhost] 2022-05-01 22:36:31 | [Mutex] waiting for: [received:nodes:5c5ce78d-2ac6-4cf9-b7e2-1cbf120fc9c6:localhost] 2022-05-01 22:36:31 | [Mutex] received everything. 2022-05-01 22:36:31 | [Mutex] isItemNotified: received:node:5c5ce78d-2ac6-4cf9-b7e2-1cbf120fc9c6:localhost:node-a48fe311-5b26-4850-9d86-c8537c839d4d:Node a48fe311-5b26-4850-9d86-c8537c839d4d :: false |
createNodes | 1.480s |
2022-05-01 22:36:27 |
2022-05-01 22:36:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:27 | ------------------------------------ 2022-05-01 22:36:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a48fe311-5b26-4850-9d86-c8537c839d4d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a48fe311-5b26-4850-9d86-c8537c839d4d</title></pubsub></data> 2022-05-01 22:36:28 | 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 22:36:29 | [Mutex] waiting for: [received:nodes:afc65535-863f-4a3c-957b-a85b925bb04a:localhost] 2022-05-01 22:36:29 | [Mutex] received everything. 2022-05-01 22:36:29 | [Mutex] isItemNotified: received:node:afc65535-863f-4a3c-957b-a85b925bb04a:localhost:node-a48fe311-5b26-4850-9d86-c8537c839d4d:Node a48fe311-5b26-4850-9d86-c8537c839d4d :: true |
createSubnodes | 1.029s |
2022-05-01 22:36:29 |
2022-05-01 22:36:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:29 | ------------------------------------ 2022-05-01 22:36:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-cc1a159f-46ad-4b1d-89c5-5ddd728587e3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node cc1a159f-46ad-4b1d-89c5-5ddd728587e3</title></pubsub></data> 2022-05-01 22:36:29 | 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 22:36:30 | [Mutex] waiting for: [received:nodes:146b9778-68a1-401e-a57a-21096f4089f7:localhost] 2022-05-01 22:36:30 | [Mutex] waiting for: [received:nodes:146b9778-68a1-401e-a57a-21096f4089f7:localhost] 2022-05-01 22:36:30 | [Mutex] received everything. 2022-05-01 22:36:30 | [Mutex] isItemNotified: received:node:146b9778-68a1-401e-a57a-21096f4089f7:localhost:node-cc1a159f-46ad-4b1d-89c5-5ddd728587e3:Node cc1a159f-46ad-4b1d-89c5-5ddd728587e3 :: true |
deleteNodes | 1.026s |
2022-05-01 22:36:35 |
2022-05-01 22:36:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:35 | ------------------------------------ 2022-05-01 22:36:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-cc1a159f-46ad-4b1d-89c5-5ddd728587e3</node></data> 2022-05-01 22:36:35 | 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 22:36:36 | [Mutex] waiting for: [received:nodes:be8a2bee-22af-4693-a742-015b90f478f9:localhost] 2022-05-01 22:36:36 | [Mutex] received everything. 2022-05-01 22:36:36 | [Mutex] isItemNotified: received:node:be8a2bee-22af-4693-a742-015b90f478f9:localhost:node-cc1a159f-46ad-4b1d-89c5-5ddd728587e3:Node cc1a159f-46ad-4b1d-89c5-5ddd728587e3 :: false |
deleteSubnodes | 1.149s |
2022-05-01 22:36:34 |
2022-05-01 22:36:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:34 | ------------------------------------ 2022-05-01 22:36:34 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a48fe311-5b26-4850-9d86-c8537c839d4d</node></data> 2022-05-01 22:36:34 | 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 22:36:35 | [Mutex] waiting for: [received:nodes:fd936245-806d-40a8-9782-786df1fd3f81:localhost] 2022-05-01 22:36:35 | [Mutex] waiting for: [received:nodes:fd936245-806d-40a8-9782-786df1fd3f81:localhost] 2022-05-01 22:36:35 | [Mutex] received everything. 2022-05-01 22:36:35 | [Mutex] isItemNotified: received:node:fd936245-806d-40a8-9782-786df1fd3f81:localhost:node-a48fe311-5b26-4850-9d86-c8537c839d4d:Node a48fe311-5b26-4850-9d86-c8537c839d4d :: false 2022-05-01 22:36:35 | [Mutex] waiting for: [received:nodes:b0ed927d-8436-4122-b359-2d67ad8e3a61:localhost] 2022-05-01 22:36:35 | [Mutex] received everything. 2022-05-01 22:36:35 | [Mutex] isItemNotified: received:node:b0ed927d-8436-4122-b359-2d67ad8e3a61:localhost:node-a48fe311-5b26-4850-9d86-c8537c839d4d:Node a48fe311-5b26-4850-9d86-c8537c839d4d :: false |
publishItemsToNodes | 0.271s |
2022-05-01 22:36:32 |
2022-05-01 22:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:32 | ------------------------------------ 2022-05-01 22:36:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a48fe311-5b26-4850-9d86-c8537c839d4d</node><item-id>item-121f1d47-4e27-49a2-b583-2331ed7ca54b</item-id><entry><test>item-121f1d47-4e27-49a2-b583-2331ed7ca54b</test></entry></data> 2022-05-01 22:36:32 | 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-121f1d47-4e27-49a2-b583-2331ed7ca54b</value></item-id></result> 2022-05-01 22:36:32 | [Mutex] received everything. 2022-05-01 22:36:32 | [Mutex] isItemNotified: published:item:notifieditem-121f1d47-4e27-49a2-b583-2331ed7ca54b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.245s |
2022-05-01 22:36:33 |
2022-05-01 22:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:33 | ------------------------------------ 2022-05-01 22:36:33 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a48fe311-5b26-4850-9d86-c8537c839d4d</node><item-id>item-121f1d47-4e27-49a2-b583-2331ed7ca54b</item-id></data> 2022-05-01 22:36:33 | 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-121f1d47-4e27-49a2-b583-2331ed7ca54b</value></item-id></result> 2022-05-01 22:36:33 | [Mutex] waiting for: [retracted:item:notifieditem-121f1d47-4e27-49a2-b583-2331ed7ca54b:admin@test-domain.com] 2022-05-01 22:36:33 | [Mutex] received everything. 2022-05-01 22:36:33 | [Mutex] isItemNotified: retracted:item:notifieditem-121f1d47-4e27-49a2-b583-2331ed7ca54b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.214s |
2022-05-01 22:36:32 |
2022-05-01 22:36:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:32 | ------------------------------------ 2022-05-01 22:36:32 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a48fe311-5b26-4850-9d86-c8537c839d4d</node><item-id>item-121f1d47-4e27-49a2-b583-2331ed7ca54b</item-id></data> 2022-05-01 22:36:33 | 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-a48fe311-5b26-4850-9d86-c8537c839d4d</value></node><item-id label="Item ID" type="text-single"><value>item-121f1d47-4e27-49a2-b583-2331ed7ca54b</value></item-id><item label="Item" type="text-multi"><value><item id="item-121f1d47-4e27-49a2-b583-2331ed7ca54b"><test>item-121f1d47-4e27-49a2-b583-2331ed7ca54b</test></item></value></item></result> 2022-05-01 22:36:33 | [Mutex] notify: [retrieved:item:item-121f1d47-4e27-49a2-b583-2331ed7ca54b:payload-matches:true:localhost] 2022-05-01 22:36:33 | [Mutex] received everything. 2022-05-01 22:36:33 | [Mutex] isItemNotified: retrieved:item:item-121f1d47-4e27-49a2-b583-2331ed7ca54b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-05-01 22:36:33 |
2022-05-01 22:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:33 | ------------------------------------ 2022-05-01 22:36:33 | 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 22:36:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a48fe311-5b26-4850-9d86-c8537c839d4d</value><value>node-cc1a159f-46ad-4b1d-89c5-5ddd728587e3</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-05-01 22:36:33 |
2022-05-01 22:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:33 | ------------------------------------ 2022-05-01 22:36:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a48fe311-5b26-4850-9d86-c8537c839d4d)</node-pattern></data> 2022-05-01 22:36:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.104s |
2022-05-01 22:36:31 |
2022-05-01 22:36:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:31 | ------------------------------------ 2022-05-01 22:36:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a48fe311-5b26-4850-9d86-c8537c839d4d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-01 22:36:31 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.245s |
2022-05-01 22:36:33 |
2022-05-01 22:36:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-05-01 22:36:33 | ------------------------------------ 2022-05-01 22:36:33 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a48fe311-5b26-4850-9d86-c8537c839d4d</node><jids><value>admin@test-domain.com</value></jids></data> 2022-05-01 22:36:33 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |