Generated by TestNG with ReportNG at 22:22 PDT on Sunday 08 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.681s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.104s
2022-05-08 22:36:46 |

2022-05-08 22:36:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:46 | ------------------------------------

2022-05-08 22:36:46 | [Mutex] waiting for: [configured:node:node-28139602-613f-4dcf-bf99-3bd976344086:node-60a94ee4-0ebc-4947-b90f-bb2ced664b43]

2022-05-08 22:36:46 | [Mutex] received everything.

2022-05-08 22:36:46 | [Mutex] isItemNotified: configured:node:node-28139602-613f-4dcf-bf99-3bd976344086:node-60a94ee4-0ebc-4947-b90f-bb2ced664b43 :: true

2022-05-08 22:36:47 | [Mutex] waiting for: [received:nodes:81b84b6a-6772-401d-b719-499d8838832f:localhost]

2022-05-08 22:36:47 | [Mutex] received everything.

2022-05-08 22:36:47 | [Mutex] isItemNotified: received:node:81b84b6a-6772-401d-b719-499d8838832f:localhost:node-28139602-613f-4dcf-bf99-3bd976344086:Node 28139602-613f-4dcf-bf99-3bd976344086 :: true

2022-05-08 22:36:47 | [Mutex] waiting for: [received:nodes:30b64030-e340-412f-ab89-78ff4271864f:localhost]

2022-05-08 22:36:47 | [Mutex] received everything.

2022-05-08 22:36:47 | [Mutex] isItemNotified: received:node:30b64030-e340-412f-ab89-78ff4271864f:localhost:node-28139602-613f-4dcf-bf99-3bd976344086:Node 28139602-613f-4dcf-bf99-3bd976344086 :: false

createNodes 1.442s
2022-05-08 22:36:44 |

2022-05-08 22:36:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:44 | ------------------------------------

2022-05-08 22:36:44 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-28139602-613f-4dcf-bf99-3bd976344086</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 28139602-613f-4dcf-bf99-3bd976344086</title></pubsub></data>

2022-05-08 22:36:44 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-08 22:36:45 | [Mutex] waiting for: [received:nodes:d3964b2a-1c52-4520-a405-d9f13ac4fe73:localhost]

2022-05-08 22:36:45 | [Mutex] received everything.

2022-05-08 22:36:45 | [Mutex] isItemNotified: received:node:d3964b2a-1c52-4520-a405-d9f13ac4fe73:localhost:node-28139602-613f-4dcf-bf99-3bd976344086:Node 28139602-613f-4dcf-bf99-3bd976344086 :: true

createSubnodes 1.023s
2022-05-08 22:36:45 |

2022-05-08 22:36:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:45 | ------------------------------------

2022-05-08 22:36:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-60a94ee4-0ebc-4947-b90f-bb2ced664b43</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 60a94ee4-0ebc-4947-b90f-bb2ced664b43</title></pubsub></data>

2022-05-08 22:36:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-08 22:36:46 | [Mutex] waiting for: [received:nodes:2e14e0bc-bbad-4586-994d-4688deaa1962:localhost]

2022-05-08 22:36:46 | [Mutex] received everything.

2022-05-08 22:36:46 | [Mutex] isItemNotified: received:node:2e14e0bc-bbad-4586-994d-4688deaa1962:localhost:node-60a94ee4-0ebc-4947-b90f-bb2ced664b43:Node 60a94ee4-0ebc-4947-b90f-bb2ced664b43 :: true

deleteNodes 1.016s
2022-05-08 22:36:52 |

2022-05-08 22:36:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:52 | ------------------------------------

2022-05-08 22:36:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-60a94ee4-0ebc-4947-b90f-bb2ced664b43</node></data>

2022-05-08 22:36:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-08 22:36:53 | [Mutex] waiting for: [received:nodes:d91470c7-21eb-4c54-ad9a-b3efe5ec701f:localhost]

2022-05-08 22:36:53 | [Mutex] received everything.

2022-05-08 22:36:53 | [Mutex] isItemNotified: received:node:d91470c7-21eb-4c54-ad9a-b3efe5ec701f:localhost:node-60a94ee4-0ebc-4947-b90f-bb2ced664b43:Node 60a94ee4-0ebc-4947-b90f-bb2ced664b43 :: false

deleteSubnodes 1.134s
2022-05-08 22:36:51 |

2022-05-08 22:36:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:51 | ------------------------------------

2022-05-08 22:36:51 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-28139602-613f-4dcf-bf99-3bd976344086</node></data>

2022-05-08 22:36:51 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-08 22:36:52 | [Mutex] waiting for: [received:nodes:539e1e88-e816-416d-8f34-2921046719c9:localhost]

2022-05-08 22:36:52 | [Mutex] received everything.

2022-05-08 22:36:52 | [Mutex] isItemNotified: received:node:539e1e88-e816-416d-8f34-2921046719c9:localhost:node-28139602-613f-4dcf-bf99-3bd976344086:Node 28139602-613f-4dcf-bf99-3bd976344086 :: false

2022-05-08 22:36:52 | [Mutex] waiting for: [received:nodes:46ec83bc-86d4-4d5c-a99f-f9fb56f4cca1:localhost]

2022-05-08 22:36:52 | [Mutex] received everything.

2022-05-08 22:36:52 | [Mutex] isItemNotified: received:node:46ec83bc-86d4-4d5c-a99f-f9fb56f4cca1:localhost:node-28139602-613f-4dcf-bf99-3bd976344086:Node 28139602-613f-4dcf-bf99-3bd976344086 :: false

publishItemsToNodes 0.182s
2022-05-08 22:36:48 |

2022-05-08 22:36:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:48 | ------------------------------------

2022-05-08 22:36:48 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-28139602-613f-4dcf-bf99-3bd976344086</node><item-id>item-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b</item-id><entry><test>item-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b</test></entry></data>

2022-05-08 22:36:49 | 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-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b</value></item-id></result>

2022-05-08 22:36:49 | [Mutex] received everything.

2022-05-08 22:36:49 | [Mutex] isItemNotified: published:item:notifieditem-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2022-05-08 22:36:49 |

2022-05-08 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:49 | ------------------------------------

2022-05-08 22:36:49 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-28139602-613f-4dcf-bf99-3bd976344086</node><item-id>item-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b</item-id></data>

2022-05-08 22:36:49 | 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-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b</value></item-id></result>

2022-05-08 22:36:49 | [Mutex] received everything.

2022-05-08 22:36:49 | [Mutex] isItemNotified: retracted:item:notifieditem-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b:admin@test-domain.com :: true

retrieveItemsFromNodes 0.260s
2022-05-08 22:36:49 |

2022-05-08 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:49 | ------------------------------------

2022-05-08 22:36:49 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-28139602-613f-4dcf-bf99-3bd976344086</node><item-id>item-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b</item-id></data>

2022-05-08 22:36:49 | 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-28139602-613f-4dcf-bf99-3bd976344086</value></node><item-id label="Item ID" type="text-single"><value>item-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b</value></item-id><item label="Item" type="text-multi"><value><item id="item-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b"><test>item-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b</test></item></value></item></result>

2022-05-08 22:36:49 | [Mutex] notify: [retrieved:item:item-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b:payload-matches:true:localhost]

2022-05-08 22:36:49 | [Mutex] received everything.

2022-05-08 22:36:49 | [Mutex] isItemNotified: retrieved:item:item-9ee4fb8c-eee9-40b6-a4cb-4f86f10f582b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-08 22:36:49 |

2022-05-08 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:49 | ------------------------------------

2022-05-08 22:36:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-08 22:36:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-60a94ee4-0ebc-4947-b90f-bb2ced664b43</value><value>test</value><value>node-28139602-613f-4dcf-bf99-3bd976344086</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-05-08 22:36:49 |

2022-05-08 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:49 | ------------------------------------

2022-05-08 22:36:49 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-28139602-613f-4dcf-bf99-3bd976344086)</node-pattern></data>

2022-05-08 22:36:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.111s
2022-05-08 22:36:47 |

2022-05-08 22:36:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:47 | ------------------------------------

2022-05-08 22:36:47 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-28139602-613f-4dcf-bf99-3bd976344086</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-08 22:36:47 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.320s
2022-05-08 22:36:49 |

2022-05-08 22:36:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-08 22:36:49 | ------------------------------------

2022-05-08 22:36:49 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-28139602-613f-4dcf-bf99-3bd976344086</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-08 22:36:50 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>