Test duration : 10.172s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.036s |
2021-11-16 22:21:25 |
2021-11-16 22:21:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:25 | ------------------------------------ 2021-11-16 22:21:25 | [Mutex] waiting for: [configured:node:node-39016c37-ce27-4834-b7ca-41f47024512f:node-aae3a6f5-34cc-4c60-b709-75480685ae8d] 2021-11-16 22:21:25 | [Mutex] received everything. 2021-11-16 22:21:25 | [Mutex] isItemNotified: configured:node:node-39016c37-ce27-4834-b7ca-41f47024512f:node-aae3a6f5-34cc-4c60-b709-75480685ae8d :: true 2021-11-16 22:21:26 | [Mutex] waiting for: [received:nodes:4e0351cd-f993-479a-b8bc-2b932048dffc:localhost] 2021-11-16 22:21:26 | [Mutex] received everything. 2021-11-16 22:21:26 | [Mutex] isItemNotified: received:node:4e0351cd-f993-479a-b8bc-2b932048dffc:localhost:node-39016c37-ce27-4834-b7ca-41f47024512f:Node 39016c37-ce27-4834-b7ca-41f47024512f :: true 2021-11-16 22:21:26 | [Mutex] waiting for: [received:nodes:bad98d25-a5f7-4dcc-a6e2-90d33f57dc16:localhost] 2021-11-16 22:21:26 | [Mutex] received everything. 2021-11-16 22:21:26 | [Mutex] isItemNotified: received:node:bad98d25-a5f7-4dcc-a6e2-90d33f57dc16:localhost:node-39016c37-ce27-4834-b7ca-41f47024512f:Node 39016c37-ce27-4834-b7ca-41f47024512f :: false |
createNodes | 1.611s |
2021-11-16 22:21:23 |
2021-11-16 22:21:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:23 | ------------------------------------ 2021-11-16 22:21:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-39016c37-ce27-4834-b7ca-41f47024512f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 39016c37-ce27-4834-b7ca-41f47024512f</title></pubsub></data> 2021-11-16 22:21:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 22:21:24 | [Mutex] waiting for: [received:nodes:d854c1e7-e341-4f4a-97e2-6778e12a2136:localhost] 2021-11-16 22:21:24 | [Mutex] waiting for: [received:nodes:d854c1e7-e341-4f4a-97e2-6778e12a2136:localhost] 2021-11-16 22:21:24 | [Mutex] received everything. 2021-11-16 22:21:24 | [Mutex] isItemNotified: received:node:d854c1e7-e341-4f4a-97e2-6778e12a2136:localhost:node-39016c37-ce27-4834-b7ca-41f47024512f:Node 39016c37-ce27-4834-b7ca-41f47024512f :: true |
createSubnodes | 1.026s |
2021-11-16 22:21:24 |
2021-11-16 22:21:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:24 | ------------------------------------ 2021-11-16 22:21:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-aae3a6f5-34cc-4c60-b709-75480685ae8d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node aae3a6f5-34cc-4c60-b709-75480685ae8d</title></pubsub></data> 2021-11-16 22:21:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 22:21:25 | [Mutex] waiting for: [received:nodes:f1793e01-052f-4188-985e-47f029a58755:localhost] 2021-11-16 22:21:25 | [Mutex] received everything. 2021-11-16 22:21:25 | [Mutex] isItemNotified: received:node:f1793e01-052f-4188-985e-47f029a58755:localhost:node-aae3a6f5-34cc-4c60-b709-75480685ae8d:Node aae3a6f5-34cc-4c60-b709-75480685ae8d :: true |
deleteNodes | 1.023s |
2021-11-16 22:21:31 |
2021-11-16 22:21:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:31 | ------------------------------------ 2021-11-16 22:21:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-aae3a6f5-34cc-4c60-b709-75480685ae8d</node></data> 2021-11-16 22:21:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 22:21:32 | [Mutex] waiting for: [received:nodes:cd553c51-ca7b-4bed-a93b-3e69932558cb:localhost] 2021-11-16 22:21:32 | [Mutex] received everything. 2021-11-16 22:21:32 | [Mutex] isItemNotified: received:node:cd553c51-ca7b-4bed-a93b-3e69932558cb:localhost:node-aae3a6f5-34cc-4c60-b709-75480685ae8d:Node aae3a6f5-34cc-4c60-b709-75480685ae8d :: false |
deleteSubnodes | 1.172s |
2021-11-16 22:21:30 |
2021-11-16 22:21:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:30 | ------------------------------------ 2021-11-16 22:21:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-39016c37-ce27-4834-b7ca-41f47024512f</node></data> 2021-11-16 22:21:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-11-16 22:21:31 | [Mutex] waiting for: [received:nodes:3acb4733-59b0-435a-8db1-7a34c9eff142:localhost] 2021-11-16 22:21:31 | [Mutex] waiting for: [received:nodes:3acb4733-59b0-435a-8db1-7a34c9eff142:localhost] 2021-11-16 22:21:31 | [Mutex] received everything. 2021-11-16 22:21:31 | [Mutex] isItemNotified: received:node:3acb4733-59b0-435a-8db1-7a34c9eff142:localhost:node-39016c37-ce27-4834-b7ca-41f47024512f:Node 39016c37-ce27-4834-b7ca-41f47024512f :: false 2021-11-16 22:21:31 | [Mutex] waiting for: [received:nodes:84b177aa-ee4e-4152-bf77-578bb960818a:localhost] 2021-11-16 22:21:31 | [Mutex] received everything. 2021-11-16 22:21:31 | [Mutex] isItemNotified: received:node:84b177aa-ee4e-4152-bf77-578bb960818a:localhost:node-39016c37-ce27-4834-b7ca-41f47024512f:Node 39016c37-ce27-4834-b7ca-41f47024512f :: false |
publishItemsToNodes | 0.285s |
2021-11-16 22:21:28 |
2021-11-16 22:21:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:28 | ------------------------------------ 2021-11-16 22:21:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-39016c37-ce27-4834-b7ca-41f47024512f</node><item-id>item-95039e9e-73f3-4fc7-9331-b640ee7226d7</item-id><entry><test>item-95039e9e-73f3-4fc7-9331-b640ee7226d7</test></entry></data> 2021-11-16 22:21:28 | 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-95039e9e-73f3-4fc7-9331-b640ee7226d7</value></item-id></result> 2021-11-16 22:21:28 | [Mutex] received everything. 2021-11-16 22:21:28 | [Mutex] isItemNotified: published:item:notifieditem-95039e9e-73f3-4fc7-9331-b640ee7226d7:admin@test-domain.com :: true |
retractItemsFromNodes | 0.281s |
2021-11-16 22:21:28 |
2021-11-16 22:21:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:28 | ------------------------------------ 2021-11-16 22:21:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-39016c37-ce27-4834-b7ca-41f47024512f</node><item-id>item-95039e9e-73f3-4fc7-9331-b640ee7226d7</item-id></data> 2021-11-16 22:21:29 | 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-95039e9e-73f3-4fc7-9331-b640ee7226d7</value></item-id></result> 2021-11-16 22:21:29 | [Mutex] received everything. 2021-11-16 22:21:29 | [Mutex] isItemNotified: retracted:item:notifieditem-95039e9e-73f3-4fc7-9331-b640ee7226d7:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.351s |
2021-11-16 22:21:28 |
2021-11-16 22:21:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:28 | ------------------------------------ 2021-11-16 22:21:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-39016c37-ce27-4834-b7ca-41f47024512f</node><item-id>item-95039e9e-73f3-4fc7-9331-b640ee7226d7</item-id></data> 2021-11-16 22:21:28 | 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-39016c37-ce27-4834-b7ca-41f47024512f</value></node><item-id type="text-single" label="Item ID"><value>item-95039e9e-73f3-4fc7-9331-b640ee7226d7</value></item-id><item type="text-multi" label="Item"><value><item id="item-95039e9e-73f3-4fc7-9331-b640ee7226d7"><test>item-95039e9e-73f3-4fc7-9331-b640ee7226d7</test></item></value></item></result> 2021-11-16 22:21:28 | [Mutex] notify: [retrieved:item:item-95039e9e-73f3-4fc7-9331-b640ee7226d7:payload-matches:true:localhost] 2021-11-16 22:21:28 | [Mutex] received everything. 2021-11-16 22:21:28 | [Mutex] isItemNotified: retrieved:item:item-95039e9e-73f3-4fc7-9331-b640ee7226d7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.056s |
2021-11-16 22:21:28 |
2021-11-16 22:21:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:28 | ------------------------------------ 2021-11-16 22:21:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-11-16 22:21:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-39016c37-ce27-4834-b7ca-41f47024512f</value><value>node-aae3a6f5-34cc-4c60-b709-75480685ae8d</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2021-11-16 22:21:28 |
2021-11-16 22:21:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:28 | ------------------------------------ 2021-11-16 22:21:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-39016c37-ce27-4834-b7ca-41f47024512f)</node-pattern></data> 2021-11-16 22:21:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.139s |
2021-11-16 22:21:26 |
2021-11-16 22:21:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:26 | ------------------------------------ 2021-11-16 22:21:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-39016c37-ce27-4834-b7ca-41f47024512f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-11-16 22:21:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.290s |
2021-11-16 22:21:29 |
2021-11-16 22:21:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-11-16 22:21:29 | ------------------------------------ 2021-11-16 22:21:29 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-39016c37-ce27-4834-b7ca-41f47024512f</node><jids><value>admin@test-domain.com</value></jids></data> 2021-11-16 22:21:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |