Generated by TestNG with ReportNG at 22:20 PDT on Monday 26 April 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.226s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.108s
2021-04-26 22:35:27 |

2021-04-26 22:35:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:27 | ------------------------------------

2021-04-26 22:35:27 | [Mutex] waiting for: [configured:node:node-81ecec36-a6e1-4584-bbea-df03f8dc7741:node-e49bf8a4-8daa-465d-9139-1cb8afd39b2f]

2021-04-26 22:35:27 | [Mutex] received everything.

2021-04-26 22:35:27 | [Mutex] isItemNotified: configured:node:node-81ecec36-a6e1-4584-bbea-df03f8dc7741:node-e49bf8a4-8daa-465d-9139-1cb8afd39b2f :: true

2021-04-26 22:35:28 | [Mutex] waiting for: [received:nodes:129ba0d8-c65b-4ea3-9c1c-6403926df82b:localhost]

2021-04-26 22:35:28 | [Mutex] received everything.

2021-04-26 22:35:28 | [Mutex] isItemNotified: received:node:129ba0d8-c65b-4ea3-9c1c-6403926df82b:localhost:node-81ecec36-a6e1-4584-bbea-df03f8dc7741:Node 81ecec36-a6e1-4584-bbea-df03f8dc7741 :: true

2021-04-26 22:35:28 | [Mutex] waiting for: [received:nodes:a5f833d9-90b0-43f3-9dd1-fa2f21b1ac50:localhost]

2021-04-26 22:35:28 | [Mutex] received everything.

2021-04-26 22:35:28 | [Mutex] isItemNotified: received:node:a5f833d9-90b0-43f3-9dd1-fa2f21b1ac50:localhost:node-81ecec36-a6e1-4584-bbea-df03f8dc7741:Node 81ecec36-a6e1-4584-bbea-df03f8dc7741 :: false

createNodes 1.524s
2021-04-26 22:35:24 |

2021-04-26 22:35:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:24 | ------------------------------------

2021-04-26 22:35:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-81ecec36-a6e1-4584-bbea-df03f8dc7741</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 81ecec36-a6e1-4584-bbea-df03f8dc7741</title></pubsub></data>

2021-04-26 22:35:25 | 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:35:26 | [Mutex] waiting for: [received:nodes:5c41abfd-c374-4f2a-a902-dd1062867f14:localhost]

2021-04-26 22:35:26 | [Mutex] received everything.

2021-04-26 22:35:26 | [Mutex] isItemNotified: received:node:5c41abfd-c374-4f2a-a902-dd1062867f14:localhost:node-81ecec36-a6e1-4584-bbea-df03f8dc7741:Node 81ecec36-a6e1-4584-bbea-df03f8dc7741 :: true

createSubnodes 1.026s
2021-04-26 22:35:26 |

2021-04-26 22:35:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:26 | ------------------------------------

2021-04-26 22:35:26 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e49bf8a4-8daa-465d-9139-1cb8afd39b2f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e49bf8a4-8daa-465d-9139-1cb8afd39b2f</title></pubsub></data>

2021-04-26 22:35:26 | 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:35:27 | [Mutex] waiting for: [received:nodes:127808fe-ddc4-4837-9eb5-dfe33cf6df8f:localhost]

2021-04-26 22:35:27 | [Mutex] received everything.

2021-04-26 22:35:27 | [Mutex] isItemNotified: received:node:127808fe-ddc4-4837-9eb5-dfe33cf6df8f:localhost:node-e49bf8a4-8daa-465d-9139-1cb8afd39b2f:Node e49bf8a4-8daa-465d-9139-1cb8afd39b2f :: true

deleteNodes 1.021s
2021-04-26 22:35:32 |

2021-04-26 22:35:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:32 | ------------------------------------

2021-04-26 22:35:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e49bf8a4-8daa-465d-9139-1cb8afd39b2f</node></data>

2021-04-26 22:35:32 | 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:35:33 | [Mutex] waiting for: [received:nodes:3e72c67f-881e-4755-8f3c-3bacf009b831:localhost]

2021-04-26 22:35:33 | [Mutex] received everything.

2021-04-26 22:35:33 | [Mutex] isItemNotified: received:node:3e72c67f-881e-4755-8f3c-3bacf009b831:localhost:node-e49bf8a4-8daa-465d-9139-1cb8afd39b2f:Node e49bf8a4-8daa-465d-9139-1cb8afd39b2f :: false

deleteSubnodes 1.192s
2021-04-26 22:35:31 |

2021-04-26 22:35:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:31 | ------------------------------------

2021-04-26 22:35:31 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-81ecec36-a6e1-4584-bbea-df03f8dc7741</node></data>

2021-04-26 22:35:31 | 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:35:32 | [Mutex] waiting for: [received:nodes:fd98ee59-6ec2-4185-8858-9d4e52b2a796:localhost]

2021-04-26 22:35:32 | [Mutex] received everything.

2021-04-26 22:35:32 | [Mutex] isItemNotified: received:node:fd98ee59-6ec2-4185-8858-9d4e52b2a796:localhost:node-81ecec36-a6e1-4584-bbea-df03f8dc7741:Node 81ecec36-a6e1-4584-bbea-df03f8dc7741 :: false

2021-04-26 22:35:32 | [Mutex] waiting for: [received:nodes:0d11548f-212f-4a89-8cb5-e5f9174f834c:localhost]

2021-04-26 22:35:32 | [Mutex] received everything.

2021-04-26 22:35:32 | [Mutex] isItemNotified: received:node:0d11548f-212f-4a89-8cb5-e5f9174f834c:localhost:node-81ecec36-a6e1-4584-bbea-df03f8dc7741:Node 81ecec36-a6e1-4584-bbea-df03f8dc7741 :: false

publishItemsToNodes 0.250s
2021-04-26 22:35:29 |

2021-04-26 22:35:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:29 | ------------------------------------

2021-04-26 22:35:29 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-81ecec36-a6e1-4584-bbea-df03f8dc7741</node><item-id>item-479435ec-e29b-458d-93ec-b18b3ccdbe74</item-id><entry><test>item-479435ec-e29b-458d-93ec-b18b3ccdbe74</test></entry></data>

2021-04-26 22:35:29 | 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-479435ec-e29b-458d-93ec-b18b3ccdbe74</value></item-id></result>

2021-04-26 22:35:29 | [Mutex] waiting for: [published:item:notifieditem-479435ec-e29b-458d-93ec-b18b3ccdbe74:admin@test-domain.com]

2021-04-26 22:35:29 | [Mutex] received everything.

2021-04-26 22:35:29 | [Mutex] isItemNotified: published:item:notifieditem-479435ec-e29b-458d-93ec-b18b3ccdbe74:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2021-04-26 22:35:30 |

2021-04-26 22:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:30 | ------------------------------------

2021-04-26 22:35:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-81ecec36-a6e1-4584-bbea-df03f8dc7741</node><item-id>item-479435ec-e29b-458d-93ec-b18b3ccdbe74</item-id></data>

2021-04-26 22:35:30 | 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-479435ec-e29b-458d-93ec-b18b3ccdbe74</value></item-id></result>

2021-04-26 22:35:30 | [Mutex] received everything.

2021-04-26 22:35:30 | [Mutex] isItemNotified: retracted:item:notifieditem-479435ec-e29b-458d-93ec-b18b3ccdbe74:admin@test-domain.com :: true

retrieveItemsFromNodes 0.319s
2021-04-26 22:35:29 |

2021-04-26 22:35:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:29 | ------------------------------------

2021-04-26 22:35:29 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-81ecec36-a6e1-4584-bbea-df03f8dc7741</node><item-id>item-479435ec-e29b-458d-93ec-b18b3ccdbe74</item-id></data>

2021-04-26 22:35:29 | 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-81ecec36-a6e1-4584-bbea-df03f8dc7741</value></node><item-id label="Item ID" type="text-single"><value>item-479435ec-e29b-458d-93ec-b18b3ccdbe74</value></item-id><item label="Item" type="text-multi"><value><item id="item-479435ec-e29b-458d-93ec-b18b3ccdbe74"><test>item-479435ec-e29b-458d-93ec-b18b3ccdbe74</test></item></value></item></result>

2021-04-26 22:35:29 | [Mutex] notify: [retrieved:item:item-479435ec-e29b-458d-93ec-b18b3ccdbe74:payload-matches:true:localhost]

2021-04-26 22:35:29 | [Mutex] received everything.

2021-04-26 22:35:29 | [Mutex] isItemNotified: retrieved:item:item-479435ec-e29b-458d-93ec-b18b3ccdbe74:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.060s
2021-04-26 22:35:29 |

2021-04-26 22:35:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:29 | ------------------------------------

2021-04-26 22:35:29 | 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:35:30 | 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-e49bf8a4-8daa-465d-9139-1cb8afd39b2f</value><value>node-81ecec36-a6e1-4584-bbea-df03f8dc7741</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-04-26 22:35:30 |

2021-04-26 22:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:30 | ------------------------------------

2021-04-26 22:35:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-81ecec36-a6e1-4584-bbea-df03f8dc7741)</node-pattern></data>

2021-04-26 22:35:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.165s
2021-04-26 22:35:28 |

2021-04-26 22:35:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:28 | ------------------------------------

2021-04-26 22:35:28 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-81ecec36-a6e1-4584-bbea-df03f8dc7741</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-26 22:35:28 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.319s
2021-04-26 22:35:30 |

2021-04-26 22:35:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:35:30 | ------------------------------------

2021-04-26 22:35:30 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-81ecec36-a6e1-4584-bbea-df03f8dc7741</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-26 22:35:30 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>