Test duration : 9.550s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.101s |
2022-08-14 22:33:02 |
2022-08-14 22:33:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:02 | ------------------------------------ 2022-08-14 22:33:02 | [Mutex] waiting for: [configured:node:node-6d3a4e1f-70f2-4827-9209-9844a0899c54:node-8da70052-7301-49cc-aac4-4086c944c938] 2022-08-14 22:33:02 | [Mutex] received everything. 2022-08-14 22:33:02 | [Mutex] isItemNotified: configured:node:node-6d3a4e1f-70f2-4827-9209-9844a0899c54:node-8da70052-7301-49cc-aac4-4086c944c938 :: true 2022-08-14 22:33:03 | [Mutex] waiting for: [received:nodes:3dcbc445-ea3a-45aa-bf5a-171a9b437830:localhost] 2022-08-14 22:33:03 | [Mutex] received everything. 2022-08-14 22:33:03 | [Mutex] isItemNotified: received:node:3dcbc445-ea3a-45aa-bf5a-171a9b437830:localhost:node-6d3a4e1f-70f2-4827-9209-9844a0899c54:Node 6d3a4e1f-70f2-4827-9209-9844a0899c54 :: true 2022-08-14 22:33:03 | [Mutex] waiting for: [received:nodes:b97eed03-ef86-4295-a209-4a3d21916db2:localhost] 2022-08-14 22:33:03 | [Mutex] waiting for: [received:nodes:b97eed03-ef86-4295-a209-4a3d21916db2:localhost] 2022-08-14 22:33:03 | [Mutex] waiting for: [received:nodes:b97eed03-ef86-4295-a209-4a3d21916db2:localhost] 2022-08-14 22:33:03 | [Mutex] received everything. 2022-08-14 22:33:03 | [Mutex] isItemNotified: received:node:b97eed03-ef86-4295-a209-4a3d21916db2:localhost:node-6d3a4e1f-70f2-4827-9209-9844a0899c54:Node 6d3a4e1f-70f2-4827-9209-9844a0899c54 :: false |
createNodes | 1.460s |
2022-08-14 22:33:00 |
2022-08-14 22:33:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:00 | ------------------------------------ 2022-08-14 22:33:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6d3a4e1f-70f2-4827-9209-9844a0899c54</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6d3a4e1f-70f2-4827-9209-9844a0899c54</title></pubsub></data> 2022-08-14 22:33:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-14 22:33:01 | [Mutex] waiting for: [received:nodes:a3718335-c1e2-480e-87cd-aa11e9a8e13a:localhost] 2022-08-14 22:33:01 | [Mutex] waiting for: [received:nodes:a3718335-c1e2-480e-87cd-aa11e9a8e13a:localhost] 2022-08-14 22:33:01 | [Mutex] waiting for: [received:nodes:a3718335-c1e2-480e-87cd-aa11e9a8e13a:localhost] 2022-08-14 22:33:01 | [Mutex] received everything. 2022-08-14 22:33:01 | [Mutex] isItemNotified: received:node:a3718335-c1e2-480e-87cd-aa11e9a8e13a:localhost:node-6d3a4e1f-70f2-4827-9209-9844a0899c54:Node 6d3a4e1f-70f2-4827-9209-9844a0899c54 :: true |
createSubnodes | 1.023s |
2022-08-14 22:33:01 |
2022-08-14 22:33:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:01 | ------------------------------------ 2022-08-14 22:33:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8da70052-7301-49cc-aac4-4086c944c938</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8da70052-7301-49cc-aac4-4086c944c938</title></pubsub></data> 2022-08-14 22:33:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-14 22:33:02 | [Mutex] waiting for: [received:nodes:2537b104-53ae-4be4-ba22-4f0cce3a11d9:localhost] 2022-08-14 22:33:02 | [Mutex] received everything. 2022-08-14 22:33:02 | [Mutex] isItemNotified: received:node:2537b104-53ae-4be4-ba22-4f0cce3a11d9:localhost:node-8da70052-7301-49cc-aac4-4086c944c938:Node 8da70052-7301-49cc-aac4-4086c944c938 :: true |
deleteNodes | 1.018s |
2022-08-14 22:33:07 |
2022-08-14 22:33:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:07 | ------------------------------------ 2022-08-14 22:33:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8da70052-7301-49cc-aac4-4086c944c938</node></data> 2022-08-14 22:33:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-14 22:33:09 | [Mutex] waiting for: [received:nodes:18ff8f03-5f23-48c6-999a-e6cb640899a0:localhost] 2022-08-14 22:33:09 | [Mutex] received everything. 2022-08-14 22:33:09 | [Mutex] isItemNotified: received:node:18ff8f03-5f23-48c6-999a-e6cb640899a0:localhost:node-8da70052-7301-49cc-aac4-4086c944c938:Node 8da70052-7301-49cc-aac4-4086c944c938 :: false |
deleteSubnodes | 1.139s |
2022-08-14 22:33:06 |
2022-08-14 22:33:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:06 | ------------------------------------ 2022-08-14 22:33:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6d3a4e1f-70f2-4827-9209-9844a0899c54</node></data> 2022-08-14 22:33:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-14 22:33:07 | [Mutex] waiting for: [received:nodes:a714ddba-aded-460c-be28-e2c55e35cc12:localhost] 2022-08-14 22:33:07 | [Mutex] waiting for: [received:nodes:a714ddba-aded-460c-be28-e2c55e35cc12:localhost] 2022-08-14 22:33:07 | [Mutex] received everything. 2022-08-14 22:33:07 | [Mutex] isItemNotified: received:node:a714ddba-aded-460c-be28-e2c55e35cc12:localhost:node-6d3a4e1f-70f2-4827-9209-9844a0899c54:Node 6d3a4e1f-70f2-4827-9209-9844a0899c54 :: false 2022-08-14 22:33:07 | [Mutex] waiting for: [received:nodes:01592a1f-f495-4818-b12a-d555d6f4fb05:localhost] 2022-08-14 22:33:07 | [Mutex] received everything. 2022-08-14 22:33:07 | [Mutex] isItemNotified: received:node:01592a1f-f495-4818-b12a-d555d6f4fb05:localhost:node-6d3a4e1f-70f2-4827-9209-9844a0899c54:Node 6d3a4e1f-70f2-4827-9209-9844a0899c54 :: false |
publishItemsToNodes | 0.205s |
2022-08-14 22:33:04 |
2022-08-14 22:33:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:04 | ------------------------------------ 2022-08-14 22:33:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-6d3a4e1f-70f2-4827-9209-9844a0899c54</node><item-id>item-a6c0eba9-246f-4370-aa0f-c0f67deba6a5</item-id><entry><test>item-a6c0eba9-246f-4370-aa0f-c0f67deba6a5</test></entry></data> 2022-08-14 22:33:05 | 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-a6c0eba9-246f-4370-aa0f-c0f67deba6a5</value></item-id></result> 2022-08-14 22:33:05 | [Mutex] received everything. 2022-08-14 22:33:05 | [Mutex] isItemNotified: published:item:notifieditem-a6c0eba9-246f-4370-aa0f-c0f67deba6a5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.263s |
2022-08-14 22:33:05 |
2022-08-14 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:05 | ------------------------------------ 2022-08-14 22:33:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-6d3a4e1f-70f2-4827-9209-9844a0899c54</node><item-id>item-a6c0eba9-246f-4370-aa0f-c0f67deba6a5</item-id></data> 2022-08-14 22:33:05 | 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-a6c0eba9-246f-4370-aa0f-c0f67deba6a5</value></item-id></result> 2022-08-14 22:33:05 | [Mutex] received everything. 2022-08-14 22:33:05 | [Mutex] isItemNotified: retracted:item:notifieditem-a6c0eba9-246f-4370-aa0f-c0f67deba6a5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.252s |
2022-08-14 22:33:05 |
2022-08-14 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:05 | ------------------------------------ 2022-08-14 22:33:05 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-6d3a4e1f-70f2-4827-9209-9844a0899c54</node><item-id>item-a6c0eba9-246f-4370-aa0f-c0f67deba6a5</item-id></data> 2022-08-14 22:33:05 | 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-6d3a4e1f-70f2-4827-9209-9844a0899c54</value></node><item-id type="text-single" label="Item ID"><value>item-a6c0eba9-246f-4370-aa0f-c0f67deba6a5</value></item-id><item type="text-multi" label="Item"><value><item id="item-a6c0eba9-246f-4370-aa0f-c0f67deba6a5"><test>item-a6c0eba9-246f-4370-aa0f-c0f67deba6a5</test></item></value></item></result> 2022-08-14 22:33:05 | [Mutex] notify: [retrieved:item:item-a6c0eba9-246f-4370-aa0f-c0f67deba6a5:payload-matches:true:localhost] 2022-08-14 22:33:05 | [Mutex] received everything. 2022-08-14 22:33:05 | [Mutex] isItemNotified: retrieved:item:item-a6c0eba9-246f-4370-aa0f-c0f67deba6a5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-14 22:33:05 |
2022-08-14 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:05 | ------------------------------------ 2022-08-14 22:33:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-14 22:33:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-6d3a4e1f-70f2-4827-9209-9844a0899c54</value><value>test</value><value>node-8da70052-7301-49cc-aac4-4086c944c938</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.055s |
2022-08-14 22:33:05 |
2022-08-14 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:05 | ------------------------------------ 2022-08-14 22:33:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6d3a4e1f-70f2-4827-9209-9844a0899c54)</node-pattern></data> 2022-08-14 22:33:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.144s |
2022-08-14 22:33:03 |
2022-08-14 22:33:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:03 | ------------------------------------ 2022-08-14 22:33:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-6d3a4e1f-70f2-4827-9209-9844a0899c54</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-14 22:33:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.199s |
2022-08-14 22:33:05 |
2022-08-14 22:33:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-14 22:33:05 | ------------------------------------ 2022-08-14 22:33:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-6d3a4e1f-70f2-4827-9209-9844a0899c54</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-14 22:33:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |