Test duration : 9.434s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.092s |
2022-12-28 22:02:56 |
2022-12-28 22:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:56 | ------------------------------------ 2022-12-28 22:02:56 | [Mutex] waiting for: [configured:node:node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b:node-c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3] 2022-12-28 22:02:56 | [Mutex] received everything. 2022-12-28 22:02:56 | [Mutex] isItemNotified: configured:node:node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b:node-c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3 :: true 2022-12-28 22:02:57 | [Mutex] waiting for: [received:nodes:874d70ad-f965-4b12-81ee-924902b68910:localhost] 2022-12-28 22:02:57 | [Mutex] received everything. 2022-12-28 22:02:57 | [Mutex] isItemNotified: received:node:874d70ad-f965-4b12-81ee-924902b68910:localhost:node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b:Node 4f2c46bd-b867-4b5d-b469-7f34a264ae2b :: true 2022-12-28 22:02:57 | [Mutex] waiting for: [received:nodes:676bf42b-b530-42ca-b4ea-b0d53d2918c8:localhost] 2022-12-28 22:02:57 | [Mutex] waiting for: [received:nodes:676bf42b-b530-42ca-b4ea-b0d53d2918c8:localhost] 2022-12-28 22:02:57 | [Mutex] waiting for: [received:nodes:676bf42b-b530-42ca-b4ea-b0d53d2918c8:localhost] 2022-12-28 22:02:57 | [Mutex] received everything. 2022-12-28 22:02:57 | [Mutex] isItemNotified: received:node:676bf42b-b530-42ca-b4ea-b0d53d2918c8:localhost:node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b:Node 4f2c46bd-b867-4b5d-b469-7f34a264ae2b :: false |
createNodes | 1.537s |
2022-12-28 22:02:53 |
2022-12-28 22:02:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:53 | ------------------------------------ 2022-12-28 22:02:53 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4f2c46bd-b867-4b5d-b469-7f34a264ae2b</title></pubsub></data> 2022-12-28 22:02:53 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 22:02:54 | [Mutex] waiting for: [received:nodes:0d7825f1-6b3a-44d3-a0e5-c75718f0309a:localhost] 2022-12-28 22:02:54 | [Mutex] received everything. 2022-12-28 22:02:54 | [Mutex] isItemNotified: received:node:0d7825f1-6b3a-44d3-a0e5-c75718f0309a:localhost:node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b:Node 4f2c46bd-b867-4b5d-b469-7f34a264ae2b :: true |
createSubnodes | 1.022s |
2022-12-28 22:02:54 |
2022-12-28 22:02:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:54 | ------------------------------------ 2022-12-28 22:02:54 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3</title></pubsub></data> 2022-12-28 22:02:54 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 22:02:55 | [Mutex] waiting for: [received:nodes:58b2b40b-bb75-4492-a29e-89063c56b0b3:localhost] 2022-12-28 22:02:56 | [Mutex] waiting for: [received:nodes:58b2b40b-bb75-4492-a29e-89063c56b0b3:localhost] 2022-12-28 22:02:56 | [Mutex] waiting for: [received:nodes:58b2b40b-bb75-4492-a29e-89063c56b0b3:localhost] 2022-12-28 22:02:56 | [Mutex] received everything. 2022-12-28 22:02:56 | [Mutex] isItemNotified: received:node:58b2b40b-bb75-4492-a29e-89063c56b0b3:localhost:node-c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3:Node c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3 :: true |
deleteNodes | 1.023s |
2022-12-28 22:03:01 |
2022-12-28 22:03:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:03:01 | ------------------------------------ 2022-12-28 22:03:01 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3</node></data> 2022-12-28 22:03:01 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 22:03:02 | [Mutex] waiting for: [received:nodes:68fefd81-0963-469c-82b3-ec1cecb36bcd:localhost] 2022-12-28 22:03:02 | [Mutex] waiting for: [received:nodes:68fefd81-0963-469c-82b3-ec1cecb36bcd:localhost] 2022-12-28 22:03:02 | [Mutex] waiting for: [received:nodes:68fefd81-0963-469c-82b3-ec1cecb36bcd:localhost] 2022-12-28 22:03:02 | [Mutex] received everything. 2022-12-28 22:03:02 | [Mutex] isItemNotified: received:node:68fefd81-0963-469c-82b3-ec1cecb36bcd:localhost:node-c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3:Node c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3 :: false |
deleteSubnodes | 1.129s |
2022-12-28 22:03:00 |
2022-12-28 22:03:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:03:00 | ------------------------------------ 2022-12-28 22:03:00 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b</node></data> 2022-12-28 22:03:00 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-12-28 22:03:01 | [Mutex] waiting for: [received:nodes:cc107e11-756a-4640-bc82-7a7b4607719b:localhost] 2022-12-28 22:03:01 | [Mutex] waiting for: [received:nodes:cc107e11-756a-4640-bc82-7a7b4607719b:localhost] 2022-12-28 22:03:01 | [Mutex] waiting for: [received:nodes:cc107e11-756a-4640-bc82-7a7b4607719b:localhost] 2022-12-28 22:03:01 | [Mutex] received everything. 2022-12-28 22:03:01 | [Mutex] isItemNotified: received:node:cc107e11-756a-4640-bc82-7a7b4607719b:localhost:node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b:Node 4f2c46bd-b867-4b5d-b469-7f34a264ae2b :: false 2022-12-28 22:03:01 | [Mutex] waiting for: [received:nodes:9e4acb75-e1d5-4756-84a7-ecbac5f661e5:localhost] 2022-12-28 22:03:01 | [Mutex] received everything. 2022-12-28 22:03:01 | [Mutex] isItemNotified: received:node:9e4acb75-e1d5-4756-84a7-ecbac5f661e5:localhost:node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b:Node 4f2c46bd-b867-4b5d-b469-7f34a264ae2b :: false |
publishItemsToNodes | 0.193s |
2022-12-28 22:02:58 |
2022-12-28 22:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:58 | ------------------------------------ 2022-12-28 22:02:58 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b</node><item-id>item-cda14d34-4d7d-4e5d-b06c-6c9697364ff5</item-id><entry><test>item-cda14d34-4d7d-4e5d-b06c-6c9697364ff5</test></entry></data> 2022-12-28 22:02:58 | 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-cda14d34-4d7d-4e5d-b06c-6c9697364ff5</value></item-id></result> 2022-12-28 22:02:58 | [Mutex] received everything. 2022-12-28 22:02:58 | [Mutex] isItemNotified: published:item:notifieditem-cda14d34-4d7d-4e5d-b06c-6c9697364ff5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.291s |
2022-12-28 22:02:58 |
2022-12-28 22:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:58 | ------------------------------------ 2022-12-28 22:02:58 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b</node><item-id>item-cda14d34-4d7d-4e5d-b06c-6c9697364ff5</item-id></data> 2022-12-28 22:02:58 | 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-cda14d34-4d7d-4e5d-b06c-6c9697364ff5</value></item-id></result> 2022-12-28 22:02:58 | [Mutex] received everything. 2022-12-28 22:02:58 | [Mutex] isItemNotified: retracted:item:notifieditem-cda14d34-4d7d-4e5d-b06c-6c9697364ff5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.172s |
2022-12-28 22:02:58 |
2022-12-28 22:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:58 | ------------------------------------ 2022-12-28 22:02:58 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b</node><item-id>item-cda14d34-4d7d-4e5d-b06c-6c9697364ff5</item-id></data> 2022-12-28 22:02:58 | 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-4f2c46bd-b867-4b5d-b469-7f34a264ae2b</value></node><item-id label="Item ID" type="text-single"><value>item-cda14d34-4d7d-4e5d-b06c-6c9697364ff5</value></item-id><item label="Item" type="text-multi"><value><item id="item-cda14d34-4d7d-4e5d-b06c-6c9697364ff5"><test>item-cda14d34-4d7d-4e5d-b06c-6c9697364ff5</test></item></value></item></result> 2022-12-28 22:02:58 | [Mutex] notify: [retrieved:item:item-cda14d34-4d7d-4e5d-b06c-6c9697364ff5:payload-matches:true:localhost] 2022-12-28 22:02:58 | [Mutex] received everything. 2022-12-28 22:02:58 | [Mutex] isItemNotified: retrieved:item:item-cda14d34-4d7d-4e5d-b06c-6c9697364ff5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-12-28 22:02:58 |
2022-12-28 22:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:58 | ------------------------------------ 2022-12-28 22:02:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-12-28 22:02:58 | 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-4f2c46bd-b867-4b5d-b469-7f34a264ae2b</value><value>node-c90f9bf3-7e9d-4f0e-8c92-3e383c04bdc3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2022-12-28 22:02:58 |
2022-12-28 22:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:58 | ------------------------------------ 2022-12-28 22:02:58 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b)</node-pattern></data> 2022-12-28 22:02:58 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.112s |
2022-12-28 22:02:57 |
2022-12-28 22:02:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:57 | ------------------------------------ 2022-12-28 22:02:57 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-28 22:02:57 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.191s |
2022-12-28 22:02:58 |
2022-12-28 22:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-12-28 22:02:58 | ------------------------------------ 2022-12-28 22:02:58 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4f2c46bd-b867-4b5d-b469-7f34a264ae2b</node><jids><value>admin@test-domain.com</value></jids></data> 2022-12-28 22:02:59 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |