Generated by TestNG with ReportNG at 22:26 PDT on Tuesday 28 September 2021
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / 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 : 10.357s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.105s
2021-09-28 22:42:52 |

2021-09-28 22:42:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:52 | ------------------------------------

2021-09-28 22:42:52 | [Mutex] waiting for: [configured:node:node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104:node-722a1c90-682f-4755-add4-c82b9c7f5fce]

2021-09-28 22:42:52 | [Mutex] received everything.

2021-09-28 22:42:52 | [Mutex] isItemNotified: configured:node:node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104:node-722a1c90-682f-4755-add4-c82b9c7f5fce :: true

2021-09-28 22:42:53 | [Mutex] waiting for: [received:nodes:81b2b83d-153c-4e62-a4d0-5c243c4b23bb:localhost]

2021-09-28 22:42:53 | [Mutex] received everything.

2021-09-28 22:42:53 | [Mutex] isItemNotified: received:node:81b2b83d-153c-4e62-a4d0-5c243c4b23bb:localhost:node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104:Node f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104 :: true

2021-09-28 22:42:53 | [Mutex] waiting for: [received:nodes:66a30b61-3165-47ae-a84b-d1ecb0781166:localhost]

2021-09-28 22:42:53 | [Mutex] waiting for: [received:nodes:66a30b61-3165-47ae-a84b-d1ecb0781166:localhost]

2021-09-28 22:42:53 | [Mutex] waiting for: [received:nodes:66a30b61-3165-47ae-a84b-d1ecb0781166:localhost]

2021-09-28 22:42:53 | [Mutex] received everything.

2021-09-28 22:42:53 | [Mutex] isItemNotified: received:node:66a30b61-3165-47ae-a84b-d1ecb0781166:localhost:node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104:Node f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104 :: false

createNodes 1.617s
2021-09-28 22:42:50 |

2021-09-28 22:42:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:50 | ------------------------------------

2021-09-28 22:42:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</title></pubsub></data>

2021-09-28 22:42:50 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 22:42:51 | [Mutex] waiting for: [received:nodes:4abec872-1d9e-421b-99ff-1f48a223f7c1:localhost]

2021-09-28 22:42:51 | [Mutex] received everything.

2021-09-28 22:42:51 | [Mutex] isItemNotified: received:node:4abec872-1d9e-421b-99ff-1f48a223f7c1:localhost:node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104:Node f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104 :: true

createSubnodes 1.032s
2021-09-28 22:42:51 |

2021-09-28 22:42:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:51 | ------------------------------------

2021-09-28 22:42:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-722a1c90-682f-4755-add4-c82b9c7f5fce</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 722a1c90-682f-4755-add4-c82b9c7f5fce</title></pubsub></data>

2021-09-28 22:42:51 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 22:42:52 | [Mutex] waiting for: [received:nodes:1de0b561-7f45-4b6c-bf07-1d03d5b95d0e:localhost]

2021-09-28 22:42:52 | [Mutex] received everything.

2021-09-28 22:42:52 | [Mutex] isItemNotified: received:node:1de0b561-7f45-4b6c-bf07-1d03d5b95d0e:localhost:node-722a1c90-682f-4755-add4-c82b9c7f5fce:Node 722a1c90-682f-4755-add4-c82b9c7f5fce :: true

deleteNodes 1.025s
2021-09-28 22:42:58 |

2021-09-28 22:42:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:58 | ------------------------------------

2021-09-28 22:42:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-722a1c90-682f-4755-add4-c82b9c7f5fce</node></data>

2021-09-28 22:42:58 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 22:42:59 | [Mutex] waiting for: [received:nodes:daecae46-462a-4a57-b126-8c822eb29de4:localhost]

2021-09-28 22:42:59 | [Mutex] waiting for: [received:nodes:daecae46-462a-4a57-b126-8c822eb29de4:localhost]

2021-09-28 22:42:59 | [Mutex] received everything.

2021-09-28 22:42:59 | [Mutex] isItemNotified: received:node:daecae46-462a-4a57-b126-8c822eb29de4:localhost:node-722a1c90-682f-4755-add4-c82b9c7f5fce:Node 722a1c90-682f-4755-add4-c82b9c7f5fce :: false

deleteSubnodes 1.229s
2021-09-28 22:42:57 |

2021-09-28 22:42:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:57 | ------------------------------------

2021-09-28 22:42:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</node></data>

2021-09-28 22:42:57 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-09-28 22:42:58 | [Mutex] waiting for: [received:nodes:194898ea-81cd-434a-a7d3-082fd821a14a:localhost]

2021-09-28 22:42:58 | [Mutex] waiting for: [received:nodes:194898ea-81cd-434a-a7d3-082fd821a14a:localhost]

2021-09-28 22:42:58 | [Mutex] waiting for: [received:nodes:194898ea-81cd-434a-a7d3-082fd821a14a:localhost]

2021-09-28 22:42:58 | [Mutex] received everything.

2021-09-28 22:42:58 | [Mutex] isItemNotified: received:node:194898ea-81cd-434a-a7d3-082fd821a14a:localhost:node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104:Node f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104 :: false

2021-09-28 22:42:58 | [Mutex] waiting for: [received:nodes:97e1cc6f-46d7-4e06-8d88-ff8a54a4d3ed:localhost]

2021-09-28 22:42:58 | [Mutex] received everything.

2021-09-28 22:42:58 | [Mutex] isItemNotified: received:node:97e1cc6f-46d7-4e06-8d88-ff8a54a4d3ed:localhost:node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104:Node f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104 :: false

publishItemsToNodes 0.316s
2021-09-28 22:42:54 |

2021-09-28 22:42:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:54 | ------------------------------------

2021-09-28 22:42:54 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</node><item-id>item-0705a525-3181-44e5-8764-e03749081325</item-id><entry><test>item-0705a525-3181-44e5-8764-e03749081325</test></entry></data>

2021-09-28 22:42:55 | 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-0705a525-3181-44e5-8764-e03749081325</value></item-id></result>

2021-09-28 22:42:55 | [Mutex] waiting for: [published:item:notifieditem-0705a525-3181-44e5-8764-e03749081325:admin@test-domain.com]

2021-09-28 22:42:55 | [Mutex] received everything.

2021-09-28 22:42:55 | [Mutex] isItemNotified: published:item:notifieditem-0705a525-3181-44e5-8764-e03749081325:admin@test-domain.com :: true

retractItemsFromNodes 0.291s
2021-09-28 22:42:55 |

2021-09-28 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:55 | ------------------------------------

2021-09-28 22:42:55 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</node><item-id>item-0705a525-3181-44e5-8764-e03749081325</item-id></data>

2021-09-28 22:42:55 | 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-0705a525-3181-44e5-8764-e03749081325</value></item-id></result>

2021-09-28 22:42:55 | [Mutex] received everything.

2021-09-28 22:42:55 | [Mutex] isItemNotified: retracted:item:notifieditem-0705a525-3181-44e5-8764-e03749081325:admin@test-domain.com :: true

retrieveItemsFromNodes 0.322s
2021-09-28 22:42:55 |

2021-09-28 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:55 | ------------------------------------

2021-09-28 22:42:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</node><item-id>item-0705a525-3181-44e5-8764-e03749081325</item-id></data>

2021-09-28 22:42:55 | 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-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</value></node><item-id type="text-single" label="Item ID"><value>item-0705a525-3181-44e5-8764-e03749081325</value></item-id><item type="text-multi" label="Item"><value><item id="item-0705a525-3181-44e5-8764-e03749081325"><test>item-0705a525-3181-44e5-8764-e03749081325</test></item></value></item></result>

2021-09-28 22:42:55 | [Mutex] notify: [retrieved:item:item-0705a525-3181-44e5-8764-e03749081325:payload-matches:true:localhost]

2021-09-28 22:42:55 | [Mutex] received everything.

2021-09-28 22:42:55 | [Mutex] isItemNotified: retrieved:item:item-0705a525-3181-44e5-8764-e03749081325:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-09-28 22:42:55 |

2021-09-28 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:55 | ------------------------------------

2021-09-28 22:42:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-09-28 22:42:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-722a1c90-682f-4755-add4-c82b9c7f5fce</value><value>node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-09-28 22:42:55 |

2021-09-28 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:55 | ------------------------------------

2021-09-28 22:42:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104)</node-pattern></data>

2021-09-28 22:42:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.158s
2021-09-28 22:42:53 |

2021-09-28 22:42:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:53 | ------------------------------------

2021-09-28 22:42:53 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-28 22:42: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.267s
2021-09-28 22:42:55 |

2021-09-28 22:42:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-09-28 22:42:55 | ------------------------------------

2021-09-28 22:42:55 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-f8eb12b4-a27a-4b18-9c3b-0bd3bc4ad104</node><jids><value>admin@test-domain.com</value></jids></data>

2021-09-28 22:42:56 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>