Test duration : 9.526s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2022-10-06 22:35:48 |
2022-10-06 22:35:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:48 | ------------------------------------ 2022-10-06 22:35:48 | [Mutex] waiting for: [configured:node:node-c4e419de-f8a2-4cc7-9e22-5d71d4503186:node-62ae3dd4-013b-42b1-98aa-46680114ccff] 2022-10-06 22:35:48 | [Mutex] received everything. 2022-10-06 22:35:48 | [Mutex] isItemNotified: configured:node:node-c4e419de-f8a2-4cc7-9e22-5d71d4503186:node-62ae3dd4-013b-42b1-98aa-46680114ccff :: true 2022-10-06 22:35:49 | [Mutex] waiting for: [received:nodes:45539d79-0dbc-49a3-90d7-3f4f976e1d56:localhost] 2022-10-06 22:35:49 | [Mutex] received everything. 2022-10-06 22:35:49 | [Mutex] isItemNotified: received:node:45539d79-0dbc-49a3-90d7-3f4f976e1d56:localhost:node-c4e419de-f8a2-4cc7-9e22-5d71d4503186:Node c4e419de-f8a2-4cc7-9e22-5d71d4503186 :: true 2022-10-06 22:35:49 | [Mutex] waiting for: [received:nodes:6a6339e5-233b-4caf-b10a-0ddd8a17ad60:localhost] 2022-10-06 22:35:49 | [Mutex] received everything. 2022-10-06 22:35:49 | [Mutex] isItemNotified: received:node:6a6339e5-233b-4caf-b10a-0ddd8a17ad60:localhost:node-c4e419de-f8a2-4cc7-9e22-5d71d4503186:Node c4e419de-f8a2-4cc7-9e22-5d71d4503186 :: false |
createNodes | 1.379s |
2022-10-06 22:35:45 |
2022-10-06 22:35:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:45 | ------------------------------------ 2022-10-06 22:35:45 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c4e419de-f8a2-4cc7-9e22-5d71d4503186</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c4e419de-f8a2-4cc7-9e22-5d71d4503186</title></pubsub></data> 2022-10-06 22:35:45 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-06 22:35:47 | [Mutex] waiting for: [received:nodes:67786da4-29ec-4e9b-ae0c-8a3fb9f1ce66:localhost] 2022-10-06 22:35:47 | [Mutex] waiting for: [received:nodes:67786da4-29ec-4e9b-ae0c-8a3fb9f1ce66:localhost] 2022-10-06 22:35:47 | [Mutex] received everything. 2022-10-06 22:35:47 | [Mutex] isItemNotified: received:node:67786da4-29ec-4e9b-ae0c-8a3fb9f1ce66:localhost:node-c4e419de-f8a2-4cc7-9e22-5d71d4503186:Node c4e419de-f8a2-4cc7-9e22-5d71d4503186 :: true |
createSubnodes | 1.028s |
2022-10-06 22:35:47 |
2022-10-06 22:35:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:47 | ------------------------------------ 2022-10-06 22:35:47 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-62ae3dd4-013b-42b1-98aa-46680114ccff</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 62ae3dd4-013b-42b1-98aa-46680114ccff</title></pubsub></data> 2022-10-06 22:35:47 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-06 22:35:48 | [Mutex] waiting for: [received:nodes:b21cab8d-7f75-48c0-8993-341ca5c2a7e1:localhost] 2022-10-06 22:35:48 | [Mutex] waiting for: [received:nodes:b21cab8d-7f75-48c0-8993-341ca5c2a7e1:localhost] 2022-10-06 22:35:48 | [Mutex] received everything. 2022-10-06 22:35:48 | [Mutex] isItemNotified: received:node:b21cab8d-7f75-48c0-8993-341ca5c2a7e1:localhost:node-62ae3dd4-013b-42b1-98aa-46680114ccff:Node 62ae3dd4-013b-42b1-98aa-46680114ccff :: true |
deleteNodes | 1.018s |
2022-10-06 22:35:53 |
2022-10-06 22:35:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:53 | ------------------------------------ 2022-10-06 22:35:53 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-62ae3dd4-013b-42b1-98aa-46680114ccff</node></data> 2022-10-06 22:35:53 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-06 22:35:54 | [Mutex] waiting for: [received:nodes:0b9043dc-3ad7-4c6c-96c4-d9152851386c:localhost] 2022-10-06 22:35:54 | [Mutex] waiting for: [received:nodes:0b9043dc-3ad7-4c6c-96c4-d9152851386c:localhost] 2022-10-06 22:35:54 | [Mutex] received everything. 2022-10-06 22:35:54 | [Mutex] isItemNotified: received:node:0b9043dc-3ad7-4c6c-96c4-d9152851386c:localhost:node-62ae3dd4-013b-42b1-98aa-46680114ccff:Node 62ae3dd4-013b-42b1-98aa-46680114ccff :: false |
deleteSubnodes | 1.161s |
2022-10-06 22:35:52 |
2022-10-06 22:35:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:52 | ------------------------------------ 2022-10-06 22:35:52 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c4e419de-f8a2-4cc7-9e22-5d71d4503186</node></data> 2022-10-06 22:35:52 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-10-06 22:35:53 | [Mutex] waiting for: [received:nodes:a6f78095-764d-4cb3-ba49-e30c55845a37:localhost] 2022-10-06 22:35:53 | [Mutex] received everything. 2022-10-06 22:35:53 | [Mutex] isItemNotified: received:node:a6f78095-764d-4cb3-ba49-e30c55845a37:localhost:node-c4e419de-f8a2-4cc7-9e22-5d71d4503186:Node c4e419de-f8a2-4cc7-9e22-5d71d4503186 :: false 2022-10-06 22:35:53 | [Mutex] waiting for: [received:nodes:e902b5ea-20ff-463f-8ce0-3576ee3771a0:localhost] 2022-10-06 22:35:53 | [Mutex] received everything. 2022-10-06 22:35:53 | [Mutex] isItemNotified: received:node:e902b5ea-20ff-463f-8ce0-3576ee3771a0:localhost:node-c4e419de-f8a2-4cc7-9e22-5d71d4503186:Node c4e419de-f8a2-4cc7-9e22-5d71d4503186 :: false |
publishItemsToNodes | 0.250s |
2022-10-06 22:35:50 |
2022-10-06 22:35:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:50 | ------------------------------------ 2022-10-06 22:35:50 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c4e419de-f8a2-4cc7-9e22-5d71d4503186</node><item-id>item-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5</item-id><entry><test>item-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5</test></entry></data> 2022-10-06 22:35:50 | 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-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5</value></item-id></result> 2022-10-06 22:35:50 | [Mutex] waiting for: [published:item:notifieditem-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5:admin@test-domain.com] 2022-10-06 22:35:50 | [Mutex] received everything. 2022-10-06 22:35:50 | [Mutex] isItemNotified: published:item:notifieditem-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.324s |
2022-10-06 22:35:50 |
2022-10-06 22:35:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:50 | ------------------------------------ 2022-10-06 22:35:50 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c4e419de-f8a2-4cc7-9e22-5d71d4503186</node><item-id>item-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5</item-id></data> 2022-10-06 22:35:51 | 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-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5</value></item-id></result> 2022-10-06 22:35:51 | [Mutex] received everything. 2022-10-06 22:35:51 | [Mutex] isItemNotified: retracted:item:notifieditem-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.216s |
2022-10-06 22:35:50 |
2022-10-06 22:35:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:50 | ------------------------------------ 2022-10-06 22:35:50 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c4e419de-f8a2-4cc7-9e22-5d71d4503186</node><item-id>item-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5</item-id></data> 2022-10-06 22:35:50 | 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-c4e419de-f8a2-4cc7-9e22-5d71d4503186</value></node><item-id type="text-single" label="Item ID"><value>item-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5</value></item-id><item type="text-multi" label="Item"><value><item id="item-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5"><test>item-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5</test></item></value></item></result> 2022-10-06 22:35:50 | [Mutex] notify: [retrieved:item:item-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5:payload-matches:true:localhost] 2022-10-06 22:35:50 | [Mutex] received everything. 2022-10-06 22:35:50 | [Mutex] isItemNotified: retrieved:item:item-1ed045c2-6c06-4ddb-ad5a-b80482f91cc5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-10-06 22:35:50 |
2022-10-06 22:35:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:50 | ------------------------------------ 2022-10-06 22:35:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-10-06 22:35:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-c4e419de-f8a2-4cc7-9e22-5d71d4503186</value><value>test</value><value>node-62ae3dd4-013b-42b1-98aa-46680114ccff</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-10-06 22:35:50 |
2022-10-06 22:35:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:50 | ------------------------------------ 2022-10-06 22:35:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c4e419de-f8a2-4cc7-9e22-5d71d4503186)</node-pattern></data> 2022-10-06 22:35:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.119s |
2022-10-06 22:35:49 |
2022-10-06 22:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:49 | ------------------------------------ 2022-10-06 22:35:49 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c4e419de-f8a2-4cc7-9e22-5d71d4503186</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-06 22:35:49 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.231s |
2022-10-06 22:35:51 |
2022-10-06 22:35:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-10-06 22:35:51 | ------------------------------------ 2022-10-06 22:35:51 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c4e419de-f8a2-4cc7-9e22-5d71d4503186</node><jids><value>admin@test-domain.com</value></jids></data> 2022-10-06 22:35:51 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |