Test duration : 9.796s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2020-10-11 22:28:52 |
2020-10-11 22:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:52 | ------------------------------------ 2020-10-11 22:28:52 | [Mutex] waiting for: [configured:node:node-f31798f4-470c-4909-96a2-a9a3f9031369:node-a5494661-4ef9-4da6-8022-6d3da7fc0f1a] 2020-10-11 22:28:52 | [Mutex] received everything. 2020-10-11 22:28:52 | [Mutex] isItemNotified: configured:node:node-f31798f4-470c-4909-96a2-a9a3f9031369:node-a5494661-4ef9-4da6-8022-6d3da7fc0f1a :: true 2020-10-11 22:28:53 | [Mutex] waiting for: [received:nodes:344564e3-b7d1-4bd8-abdf-ccd1d0c49490:localhost] 2020-10-11 22:28:53 | [Mutex] received everything. 2020-10-11 22:28:53 | [Mutex] isItemNotified: received:node:344564e3-b7d1-4bd8-abdf-ccd1d0c49490:localhost:node-f31798f4-470c-4909-96a2-a9a3f9031369:Node f31798f4-470c-4909-96a2-a9a3f9031369 :: true 2020-10-11 22:28:53 | [Mutex] waiting for: [received:nodes:30d49c13-f67a-4989-919b-b76a01a9af7b:localhost] 2020-10-11 22:28:53 | [Mutex] received everything. 2020-10-11 22:28:53 | [Mutex] isItemNotified: received:node:30d49c13-f67a-4989-919b-b76a01a9af7b:localhost:node-f31798f4-470c-4909-96a2-a9a3f9031369:Node f31798f4-470c-4909-96a2-a9a3f9031369 :: false |
createNodes | 1.405s |
2020-10-11 22:28:49 |
2020-10-11 22:28:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:49 | ------------------------------------ 2020-10-11 22:28:49 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f31798f4-470c-4909-96a2-a9a3f9031369</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f31798f4-470c-4909-96a2-a9a3f9031369</title></pubsub></data> 2020-10-11 22:28:49 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-11 22:28:50 | [Mutex] waiting for: [received:nodes:e0699a04-5baa-4ad0-a3f9-bd5f0fc41628:localhost] 2020-10-11 22:28:50 | [Mutex] received everything. 2020-10-11 22:28:50 | [Mutex] isItemNotified: received:node:e0699a04-5baa-4ad0-a3f9-bd5f0fc41628:localhost:node-f31798f4-470c-4909-96a2-a9a3f9031369:Node f31798f4-470c-4909-96a2-a9a3f9031369 :: true |
createSubnodes | 1.029s |
2020-10-11 22:28:50 |
2020-10-11 22:28:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:50 | ------------------------------------ 2020-10-11 22:28:50 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a5494661-4ef9-4da6-8022-6d3da7fc0f1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a5494661-4ef9-4da6-8022-6d3da7fc0f1a</title></pubsub></data> 2020-10-11 22:28:51 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-11 22:28:52 | [Mutex] waiting for: [received:nodes:66aad684-8c94-4bbd-b137-1a2d72f11702:localhost] 2020-10-11 22:28:52 | [Mutex] received everything. 2020-10-11 22:28:52 | [Mutex] isItemNotified: received:node:66aad684-8c94-4bbd-b137-1a2d72f11702:localhost:node-a5494661-4ef9-4da6-8022-6d3da7fc0f1a:Node a5494661-4ef9-4da6-8022-6d3da7fc0f1a :: true |
deleteNodes | 1.017s |
2020-10-11 22:28:57 |
2020-10-11 22:28:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:57 | ------------------------------------ 2020-10-11 22:28:57 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a5494661-4ef9-4da6-8022-6d3da7fc0f1a</node></data> 2020-10-11 22:28:57 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-11 22:28:58 | [Mutex] waiting for: [received:nodes:d0c8ec86-9b55-4c0e-acb2-a671ba3300af:localhost] 2020-10-11 22:28:58 | [Mutex] received everything. 2020-10-11 22:28:58 | [Mutex] isItemNotified: received:node:d0c8ec86-9b55-4c0e-acb2-a671ba3300af:localhost:node-a5494661-4ef9-4da6-8022-6d3da7fc0f1a:Node a5494661-4ef9-4da6-8022-6d3da7fc0f1a :: false |
deleteSubnodes | 1.114s |
2020-10-11 22:28:56 |
2020-10-11 22:28:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:56 | ------------------------------------ 2020-10-11 22:28:56 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f31798f4-470c-4909-96a2-a9a3f9031369</node></data> 2020-10-11 22:28:56 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-10-11 22:28:57 | [Mutex] waiting for: [received:nodes:26c9afbc-0bc0-4060-a29a-4352f764c681:localhost] 2020-10-11 22:28:57 | [Mutex] received everything. 2020-10-11 22:28:57 | [Mutex] isItemNotified: received:node:26c9afbc-0bc0-4060-a29a-4352f764c681:localhost:node-f31798f4-470c-4909-96a2-a9a3f9031369:Node f31798f4-470c-4909-96a2-a9a3f9031369 :: false 2020-10-11 22:28:57 | [Mutex] waiting for: [received:nodes:9fc4cce0-1191-4d02-a4b2-345e6efeabe9:localhost] 2020-10-11 22:28:57 | [Mutex] received everything. 2020-10-11 22:28:57 | [Mutex] isItemNotified: received:node:9fc4cce0-1191-4d02-a4b2-345e6efeabe9:localhost:node-f31798f4-470c-4909-96a2-a9a3f9031369:Node f31798f4-470c-4909-96a2-a9a3f9031369 :: false |
publishItemsToNodes | 0.197s |
2020-10-11 22:28:54 |
2020-10-11 22:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:54 | ------------------------------------ 2020-10-11 22:28:54 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f31798f4-470c-4909-96a2-a9a3f9031369</node><item-id>item-d22def44-3d37-460c-a852-9f5c4e9622a3</item-id><entry><test>item-d22def44-3d37-460c-a852-9f5c4e9622a3</test></entry></data> 2020-10-11 22:28:54 | 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-d22def44-3d37-460c-a852-9f5c4e9622a3</value></item-id></result> 2020-10-11 22:28:54 | [Mutex] waiting for: [published:item:notifieditem-d22def44-3d37-460c-a852-9f5c4e9622a3:admin@test-domain.com] 2020-10-11 22:28:54 | [Mutex] received everything. 2020-10-11 22:28:54 | [Mutex] isItemNotified: published:item:notifieditem-d22def44-3d37-460c-a852-9f5c4e9622a3:admin@test-domain.com :: true |
retractItemsFromNodes | 0.276s |
2020-10-11 22:28:54 |
2020-10-11 22:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:54 | ------------------------------------ 2020-10-11 22:28:54 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f31798f4-470c-4909-96a2-a9a3f9031369</node><item-id>item-d22def44-3d37-460c-a852-9f5c4e9622a3</item-id></data> 2020-10-11 22:28:55 | 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-d22def44-3d37-460c-a852-9f5c4e9622a3</value></item-id></result> 2020-10-11 22:28:55 | [Mutex] received everything. 2020-10-11 22:28:55 | [Mutex] isItemNotified: retracted:item:notifieditem-d22def44-3d37-460c-a852-9f5c4e9622a3:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.248s |
2020-10-11 22:28:54 |
2020-10-11 22:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:54 | ------------------------------------ 2020-10-11 22:28:54 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f31798f4-470c-4909-96a2-a9a3f9031369</node><item-id>item-d22def44-3d37-460c-a852-9f5c4e9622a3</item-id></data> 2020-10-11 22:28:54 | 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-f31798f4-470c-4909-96a2-a9a3f9031369</value></node><item-id label="Item ID" type="text-single"><value>item-d22def44-3d37-460c-a852-9f5c4e9622a3</value></item-id><item label="Item" type="text-multi"><value><item id="item-d22def44-3d37-460c-a852-9f5c4e9622a3"><test>item-d22def44-3d37-460c-a852-9f5c4e9622a3</test></item></value></item></result> 2020-10-11 22:28:54 | [Mutex] notify: [retrieved:item:item-d22def44-3d37-460c-a852-9f5c4e9622a3:payload-matches:true:localhost] 2020-10-11 22:28:54 | [Mutex] received everything. 2020-10-11 22:28:54 | [Mutex] isItemNotified: retrieved:item:item-d22def44-3d37-460c-a852-9f5c4e9622a3:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-10-11 22:28:54 |
2020-10-11 22:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:54 | ------------------------------------ 2020-10-11 22:28:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-10-11 22:28:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-f31798f4-470c-4909-96a2-a9a3f9031369</value><value>node-a5494661-4ef9-4da6-8022-6d3da7fc0f1a</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.059s |
2020-10-11 22:28:54 |
2020-10-11 22:28:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:54 | ------------------------------------ 2020-10-11 22:28:54 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f31798f4-470c-4909-96a2-a9a3f9031369)</node-pattern></data> 2020-10-11 22:28:54 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.122s |
2020-10-11 22:28:53 |
2020-10-11 22:28:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:53 | ------------------------------------ 2020-10-11 22:28:53 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f31798f4-470c-4909-96a2-a9a3f9031369</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-11 22:28:53 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.243s |
2020-10-11 22:28:55 |
2020-10-11 22:28:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-10-11 22:28:55 | ------------------------------------ 2020-10-11 22:28:55 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f31798f4-470c-4909-96a2-a9a3f9031369</node><jids><value>admin@test-domain.com</value></jids></data> 2020-10-11 22:28:55 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |