Test duration : 10.353s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.097s |
2021-03-25 23:06:30 |
2021-03-25 23:06:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:30 | ------------------------------------ 2021-03-25 23:06:30 | [Mutex] waiting for: [configured:node:node-a1828cfa-8e57-4a29-bc3d-515f8dea2411:node-340e044f-f027-4200-9d3c-e8cd95c20243] 2021-03-25 23:06:30 | [Mutex] received everything. 2021-03-25 23:06:30 | [Mutex] isItemNotified: configured:node:node-a1828cfa-8e57-4a29-bc3d-515f8dea2411:node-340e044f-f027-4200-9d3c-e8cd95c20243 :: true 2021-03-25 23:06:31 | [Mutex] waiting for: [received:nodes:9b9f2070-8dfd-49e6-9ad1-6f46fd3b8985:localhost] 2021-03-25 23:06:31 | [Mutex] received everything. 2021-03-25 23:06:31 | [Mutex] isItemNotified: received:node:9b9f2070-8dfd-49e6-9ad1-6f46fd3b8985:localhost:node-a1828cfa-8e57-4a29-bc3d-515f8dea2411:Node a1828cfa-8e57-4a29-bc3d-515f8dea2411 :: true 2021-03-25 23:06:31 | [Mutex] waiting for: [received:nodes:768841c8-3903-41ed-aa84-16f05b456227:localhost] 2021-03-25 23:06:31 | [Mutex] received everything. 2021-03-25 23:06:31 | [Mutex] isItemNotified: received:node:768841c8-3903-41ed-aa84-16f05b456227:localhost:node-a1828cfa-8e57-4a29-bc3d-515f8dea2411:Node a1828cfa-8e57-4a29-bc3d-515f8dea2411 :: false |
createNodes | 1.632s |
2021-03-25 23:06:27 |
2021-03-25 23:06:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:27 | ------------------------------------ 2021-03-25 23:06:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a1828cfa-8e57-4a29-bc3d-515f8dea2411</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a1828cfa-8e57-4a29-bc3d-515f8dea2411</title></pubsub></data> 2021-03-25 23:06:28 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-25 23:06:29 | [Mutex] waiting for: [received:nodes:3da6eee9-0c69-4113-af7f-dbad4d0b5c9a:localhost] 2021-03-25 23:06:29 | [Mutex] received everything. 2021-03-25 23:06:29 | [Mutex] isItemNotified: received:node:3da6eee9-0c69-4113-af7f-dbad4d0b5c9a:localhost:node-a1828cfa-8e57-4a29-bc3d-515f8dea2411:Node a1828cfa-8e57-4a29-bc3d-515f8dea2411 :: true |
createSubnodes | 1.034s |
2021-03-25 23:06:29 |
2021-03-25 23:06:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:29 | ------------------------------------ 2021-03-25 23:06:29 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-340e044f-f027-4200-9d3c-e8cd95c20243</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 340e044f-f027-4200-9d3c-e8cd95c20243</title></pubsub></data> 2021-03-25 23:06:29 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-25 23:06:30 | [Mutex] waiting for: [received:nodes:ed4c0f38-51c5-4907-b838-deb30c5c4d59:localhost] 2021-03-25 23:06:30 | [Mutex] received everything. 2021-03-25 23:06:30 | [Mutex] isItemNotified: received:node:ed4c0f38-51c5-4907-b838-deb30c5c4d59:localhost:node-340e044f-f027-4200-9d3c-e8cd95c20243:Node 340e044f-f027-4200-9d3c-e8cd95c20243 :: true |
deleteNodes | 1.041s |
2021-03-25 23:06:36 |
2021-03-25 23:06:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:36 | ------------------------------------ 2021-03-25 23:06:36 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-340e044f-f027-4200-9d3c-e8cd95c20243</node></data> 2021-03-25 23:06:36 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-25 23:06:37 | [Mutex] waiting for: [received:nodes:50ed6420-eb62-4908-abad-33f12c49557d:localhost] 2021-03-25 23:06:37 | [Mutex] waiting for: [received:nodes:50ed6420-eb62-4908-abad-33f12c49557d:localhost] 2021-03-25 23:06:37 | [Mutex] received everything. 2021-03-25 23:06:37 | [Mutex] isItemNotified: received:node:50ed6420-eb62-4908-abad-33f12c49557d:localhost:node-340e044f-f027-4200-9d3c-e8cd95c20243:Node 340e044f-f027-4200-9d3c-e8cd95c20243 :: false |
deleteSubnodes | 1.124s |
2021-03-25 23:06:35 |
2021-03-25 23:06:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:35 | ------------------------------------ 2021-03-25 23:06:35 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a1828cfa-8e57-4a29-bc3d-515f8dea2411</node></data> 2021-03-25 23:06:35 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-03-25 23:06:36 | [Mutex] waiting for: [received:nodes:a8a41fb5-b02b-4137-a939-7ec06ff5ddf2:localhost] 2021-03-25 23:06:36 | [Mutex] waiting for: [received:nodes:a8a41fb5-b02b-4137-a939-7ec06ff5ddf2:localhost] 2021-03-25 23:06:36 | [Mutex] received everything. 2021-03-25 23:06:36 | [Mutex] isItemNotified: received:node:a8a41fb5-b02b-4137-a939-7ec06ff5ddf2:localhost:node-a1828cfa-8e57-4a29-bc3d-515f8dea2411:Node a1828cfa-8e57-4a29-bc3d-515f8dea2411 :: false 2021-03-25 23:06:36 | [Mutex] waiting for: [received:nodes:4976177f-ffea-44f2-9eb8-32dbea1fecd5:localhost] 2021-03-25 23:06:36 | [Mutex] received everything. 2021-03-25 23:06:36 | [Mutex] isItemNotified: received:node:4976177f-ffea-44f2-9eb8-32dbea1fecd5:localhost:node-a1828cfa-8e57-4a29-bc3d-515f8dea2411:Node a1828cfa-8e57-4a29-bc3d-515f8dea2411 :: false |
publishItemsToNodes | 0.269s |
2021-03-25 23:06:32 |
2021-03-25 23:06:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:32 | ------------------------------------ 2021-03-25 23:06:32 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a1828cfa-8e57-4a29-bc3d-515f8dea2411</node><item-id>item-aa648f2c-8373-4717-8e70-97ebe11a9751</item-id><entry><test>item-aa648f2c-8373-4717-8e70-97ebe11a9751</test></entry></data> 2021-03-25 23:06:33 | 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-aa648f2c-8373-4717-8e70-97ebe11a9751</value></item-id></result> 2021-03-25 23:06:33 | [Mutex] received everything. 2021-03-25 23:06:33 | [Mutex] isItemNotified: published:item:notifieditem-aa648f2c-8373-4717-8e70-97ebe11a9751:admin@test-domain.com :: true |
retractItemsFromNodes | 0.227s |
2021-03-25 23:06:33 |
2021-03-25 23:06:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:33 | ------------------------------------ 2021-03-25 23:06:33 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a1828cfa-8e57-4a29-bc3d-515f8dea2411</node><item-id>item-aa648f2c-8373-4717-8e70-97ebe11a9751</item-id></data> 2021-03-25 23:06: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-aa648f2c-8373-4717-8e70-97ebe11a9751</value></item-id></result> 2021-03-25 23:06:33 | [Mutex] waiting for: [retracted:item:notifieditem-aa648f2c-8373-4717-8e70-97ebe11a9751:admin@test-domain.com] 2021-03-25 23:06:33 | [Mutex] received everything. 2021-03-25 23:06:33 | [Mutex] isItemNotified: retracted:item:notifieditem-aa648f2c-8373-4717-8e70-97ebe11a9751:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.296s |
2021-03-25 23:06:33 |
2021-03-25 23:06:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:33 | ------------------------------------ 2021-03-25 23:06:33 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a1828cfa-8e57-4a29-bc3d-515f8dea2411</node><item-id>item-aa648f2c-8373-4717-8e70-97ebe11a9751</item-id></data> 2021-03-25 23:06: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-a1828cfa-8e57-4a29-bc3d-515f8dea2411</value></node><item-id label="Item ID" type="text-single"><value>item-aa648f2c-8373-4717-8e70-97ebe11a9751</value></item-id><item label="Item" type="text-multi"><value><item id="item-aa648f2c-8373-4717-8e70-97ebe11a9751"><test>item-aa648f2c-8373-4717-8e70-97ebe11a9751</test></item></value></item></result> 2021-03-25 23:06:33 | [Mutex] notify: [retrieved:item:item-aa648f2c-8373-4717-8e70-97ebe11a9751:payload-matches:true:localhost] 2021-03-25 23:06:33 | [Mutex] received everything. 2021-03-25 23:06:33 | [Mutex] isItemNotified: retrieved:item:item-aa648f2c-8373-4717-8e70-97ebe11a9751:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2021-03-25 23:06:33 |
2021-03-25 23:06:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:33 | ------------------------------------ 2021-03-25 23:06:33 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-03-25 23:06:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-a1828cfa-8e57-4a29-bc3d-515f8dea2411</value><value>node-340e044f-f027-4200-9d3c-e8cd95c20243</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-03-25 23:06:33 |
2021-03-25 23:06:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:33 | ------------------------------------ 2021-03-25 23:06: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-a1828cfa-8e57-4a29-bc3d-515f8dea2411)</node-pattern></data> 2021-03-25 23:06:33 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.188s |
2021-03-25 23:06:31 |
2021-03-25 23:06:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:31 | ------------------------------------ 2021-03-25 23:06:31 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a1828cfa-8e57-4a29-bc3d-515f8dea2411</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-25 23:06: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.319s |
2021-03-25 23:06:33 |
2021-03-25 23:06:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-03-25 23:06:33 | ------------------------------------ 2021-03-25 23:06:33 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a1828cfa-8e57-4a29-bc3d-515f8dea2411</node><jids><value>admin@test-domain.com</value></jids></data> 2021-03-25 23:06:34 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |