Test duration : 10.445s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.128s |
2021-04-26 22:49:01 |
2021-04-26 22:49:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:01 | ------------------------------------ 2021-04-26 22:49:01 | [Mutex] waiting for: [configured:node:node-e117aea7-108d-4d4b-9372-3e3de19c353b:node-39e1e802-8647-4df4-84fe-241333ad06b6] 2021-04-26 22:49:01 | [Mutex] received everything. 2021-04-26 22:49:01 | [Mutex] isItemNotified: configured:node:node-e117aea7-108d-4d4b-9372-3e3de19c353b:node-39e1e802-8647-4df4-84fe-241333ad06b6 :: true 2021-04-26 22:49:02 | [Mutex] waiting for: [received:nodes:90da6f95-3caa-4b89-8194-8074fe5ab438:localhost] 2021-04-26 22:49:02 | [Mutex] received everything. 2021-04-26 22:49:02 | [Mutex] isItemNotified: received:node:90da6f95-3caa-4b89-8194-8074fe5ab438:localhost:node-e117aea7-108d-4d4b-9372-3e3de19c353b:Node e117aea7-108d-4d4b-9372-3e3de19c353b :: true 2021-04-26 22:49:02 | [Mutex] waiting for: [received:nodes:7eca26ed-63ad-42db-8a8e-b7c1ea9f75dc:localhost] 2021-04-26 22:49:02 | [Mutex] waiting for: [received:nodes:7eca26ed-63ad-42db-8a8e-b7c1ea9f75dc:localhost] 2021-04-26 22:49:02 | [Mutex] received everything. 2021-04-26 22:49:02 | [Mutex] isItemNotified: received:node:7eca26ed-63ad-42db-8a8e-b7c1ea9f75dc:localhost:node-e117aea7-108d-4d4b-9372-3e3de19c353b:Node e117aea7-108d-4d4b-9372-3e3de19c353b :: false |
createNodes | 1.668s |
2021-04-26 22:48:59 |
2021-04-26 22:48:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:48:59 | ------------------------------------ 2021-04-26 22:48:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-e117aea7-108d-4d4b-9372-3e3de19c353b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node e117aea7-108d-4d4b-9372-3e3de19c353b</title></pubsub></data> 2021-04-26 22:48:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-26 22:49:00 | [Mutex] waiting for: [received:nodes:39ebfed8-944f-459d-aa7b-d8515ce2e5f1:localhost] 2021-04-26 22:49:00 | [Mutex] received everything. 2021-04-26 22:49:00 | [Mutex] isItemNotified: received:node:39ebfed8-944f-459d-aa7b-d8515ce2e5f1:localhost:node-e117aea7-108d-4d4b-9372-3e3de19c353b:Node e117aea7-108d-4d4b-9372-3e3de19c353b :: true |
createSubnodes | 1.036s |
2021-04-26 22:49:00 |
2021-04-26 22:49:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:00 | ------------------------------------ 2021-04-26 22:49:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-39e1e802-8647-4df4-84fe-241333ad06b6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 39e1e802-8647-4df4-84fe-241333ad06b6</title></pubsub></data> 2021-04-26 22:49:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-26 22:49:01 | [Mutex] waiting for: [received:nodes:8bb8b7fa-cc82-4215-b292-7546b4d9eea6:localhost] 2021-04-26 22:49:01 | [Mutex] received everything. 2021-04-26 22:49:01 | [Mutex] isItemNotified: received:node:8bb8b7fa-cc82-4215-b292-7546b4d9eea6:localhost:node-39e1e802-8647-4df4-84fe-241333ad06b6:Node 39e1e802-8647-4df4-84fe-241333ad06b6 :: true |
deleteNodes | 1.027s |
2021-04-26 22:49:07 |
2021-04-26 22:49:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:07 | ------------------------------------ 2021-04-26 22:49:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-39e1e802-8647-4df4-84fe-241333ad06b6</node></data> 2021-04-26 22:49:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-26 22:49:08 | [Mutex] waiting for: [received:nodes:cb4db8a3-a323-4861-aec9-09f48c100e4b:localhost] 2021-04-26 22:49:08 | [Mutex] waiting for: [received:nodes:cb4db8a3-a323-4861-aec9-09f48c100e4b:localhost] 2021-04-26 22:49:08 | [Mutex] received everything. 2021-04-26 22:49:08 | [Mutex] isItemNotified: received:node:cb4db8a3-a323-4861-aec9-09f48c100e4b:localhost:node-39e1e802-8647-4df4-84fe-241333ad06b6:Node 39e1e802-8647-4df4-84fe-241333ad06b6 :: false |
deleteSubnodes | 1.217s |
2021-04-26 22:49:06 |
2021-04-26 22:49:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:06 | ------------------------------------ 2021-04-26 22:49:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-e117aea7-108d-4d4b-9372-3e3de19c353b</node></data> 2021-04-26 22:49:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2021-04-26 22:49:07 | [Mutex] waiting for: [received:nodes:a5941251-b9cc-4629-9ecc-fbf48f4e79b1:localhost] 2021-04-26 22:49:07 | [Mutex] waiting for: [received:nodes:a5941251-b9cc-4629-9ecc-fbf48f4e79b1:localhost] 2021-04-26 22:49:07 | [Mutex] received everything. 2021-04-26 22:49:07 | [Mutex] isItemNotified: received:node:a5941251-b9cc-4629-9ecc-fbf48f4e79b1:localhost:node-e117aea7-108d-4d4b-9372-3e3de19c353b:Node e117aea7-108d-4d4b-9372-3e3de19c353b :: false 2021-04-26 22:49:07 | [Mutex] waiting for: [received:nodes:3dde4929-8a79-4bb7-b23b-38d2c2a14296:localhost] 2021-04-26 22:49:07 | [Mutex] received everything. 2021-04-26 22:49:07 | [Mutex] isItemNotified: received:node:3dde4929-8a79-4bb7-b23b-38d2c2a14296:localhost:node-e117aea7-108d-4d4b-9372-3e3de19c353b:Node e117aea7-108d-4d4b-9372-3e3de19c353b :: false |
publishItemsToNodes | 0.309s |
2021-04-26 22:49:04 |
2021-04-26 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:04 | ------------------------------------ 2021-04-26 22:49:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-e117aea7-108d-4d4b-9372-3e3de19c353b</node><item-id>item-a7b11aaf-9a67-4107-b00e-fa733355029b</item-id><entry><test>item-a7b11aaf-9a67-4107-b00e-fa733355029b</test></entry></data> 2021-04-26 22:49:04 | 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-a7b11aaf-9a67-4107-b00e-fa733355029b</value></item-id></result> 2021-04-26 22:49:04 | [Mutex] received everything. 2021-04-26 22:49:04 | [Mutex] isItemNotified: published:item:notifieditem-a7b11aaf-9a67-4107-b00e-fa733355029b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.175s |
2021-04-26 22:49:04 |
2021-04-26 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:04 | ------------------------------------ 2021-04-26 22:49:04 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-e117aea7-108d-4d4b-9372-3e3de19c353b</node><item-id>item-a7b11aaf-9a67-4107-b00e-fa733355029b</item-id></data> 2021-04-26 22:49:05 | 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-a7b11aaf-9a67-4107-b00e-fa733355029b</value></item-id></result> 2021-04-26 22:49:05 | [Mutex] received everything. 2021-04-26 22:49:05 | [Mutex] isItemNotified: retracted:item:notifieditem-a7b11aaf-9a67-4107-b00e-fa733355029b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.348s |
2021-04-26 22:49:04 |
2021-04-26 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:04 | ------------------------------------ 2021-04-26 22:49:04 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-e117aea7-108d-4d4b-9372-3e3de19c353b</node><item-id>item-a7b11aaf-9a67-4107-b00e-fa733355029b</item-id></data> 2021-04-26 22:49:04 | 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-e117aea7-108d-4d4b-9372-3e3de19c353b</value></node><item-id label="Item ID" type="text-single"><value>item-a7b11aaf-9a67-4107-b00e-fa733355029b</value></item-id><item label="Item" type="text-multi"><value><item id="item-a7b11aaf-9a67-4107-b00e-fa733355029b"><test>item-a7b11aaf-9a67-4107-b00e-fa733355029b</test></item></value></item></result> 2021-04-26 22:49:04 | [Mutex] notify: [retrieved:item:item-a7b11aaf-9a67-4107-b00e-fa733355029b:payload-matches:true:localhost] 2021-04-26 22:49:04 | [Mutex] received everything. 2021-04-26 22:49:04 | [Mutex] isItemNotified: retrieved:item:item-a7b11aaf-9a67-4107-b00e-fa733355029b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.060s |
2021-04-26 22:49:04 |
2021-04-26 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:04 | ------------------------------------ 2021-04-26 22:49:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2021-04-26 22:49:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-39e1e802-8647-4df4-84fe-241333ad06b6</value><value>test</value><value>node-e117aea7-108d-4d4b-9372-3e3de19c353b</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2021-04-26 22:49:04 |
2021-04-26 22:49:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:04 | ------------------------------------ 2021-04-26 22:49:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-e117aea7-108d-4d4b-9372-3e3de19c353b)</node-pattern></data> 2021-04-26 22:49:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.178s |
2021-04-26 22:49:02 |
2021-04-26 22:49:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:02 | ------------------------------------ 2021-04-26 22:49:02 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-e117aea7-108d-4d4b-9372-3e3de19c353b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-26 22:49: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.303s |
2021-04-26 22:49:05 |
2021-04-26 22:49:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2021-04-26 22:49:05 | ------------------------------------ 2021-04-26 22:49:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-e117aea7-108d-4d4b-9372-3e3de19c353b</node><jids><value>admin@test-domain.com</value></jids></data> 2021-04-26 22:49:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |