Generated by TestNG with ReportNG at 04:26 PST on Monday 26 December 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.385s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.086s
2022-12-26 04:41:11 |

2022-12-26 04:41:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:11 | ------------------------------------

2022-12-26 04:41:11 | [Mutex] waiting for: [configured:node:node-208daf2d-8722-4abb-8159-cc4b500c7b0b:node-d62e3e00-7eaa-4b02-b7e8-084bdd1205d0]

2022-12-26 04:41:11 | [Mutex] received everything.

2022-12-26 04:41:11 | [Mutex] isItemNotified: configured:node:node-208daf2d-8722-4abb-8159-cc4b500c7b0b:node-d62e3e00-7eaa-4b02-b7e8-084bdd1205d0 :: true

2022-12-26 04:41:12 | [Mutex] waiting for: [received:nodes:b14e632d-2367-451f-b803-fe3bd590d43b:localhost]

2022-12-26 04:41:12 | [Mutex] received everything.

2022-12-26 04:41:12 | [Mutex] isItemNotified: received:node:b14e632d-2367-451f-b803-fe3bd590d43b:localhost:node-208daf2d-8722-4abb-8159-cc4b500c7b0b:Node 208daf2d-8722-4abb-8159-cc4b500c7b0b :: true

2022-12-26 04:41:12 | [Mutex] waiting for: [received:nodes:1ada7393-f842-44e1-8329-4068f9507e48:localhost]

2022-12-26 04:41:12 | [Mutex] waiting for: [received:nodes:1ada7393-f842-44e1-8329-4068f9507e48:localhost]

2022-12-26 04:41:12 | [Mutex] waiting for: [received:nodes:1ada7393-f842-44e1-8329-4068f9507e48:localhost]

2022-12-26 04:41:12 | [Mutex] waiting for: [received:nodes:1ada7393-f842-44e1-8329-4068f9507e48:localhost]

2022-12-26 04:41:12 | [Mutex] received everything.

2022-12-26 04:41:12 | [Mutex] isItemNotified: received:node:1ada7393-f842-44e1-8329-4068f9507e48:localhost:node-208daf2d-8722-4abb-8159-cc4b500c7b0b:Node 208daf2d-8722-4abb-8159-cc4b500c7b0b :: false

createNodes 1.383s
2022-12-26 04:41:09 |

2022-12-26 04:41:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:09 | ------------------------------------

2022-12-26 04:41:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-208daf2d-8722-4abb-8159-cc4b500c7b0b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 208daf2d-8722-4abb-8159-cc4b500c7b0b</title></pubsub></data>

2022-12-26 04:41:09 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 04:41:10 | [Mutex] waiting for: [received:nodes:1dc5968b-7e9f-4388-9db3-0365f0129a61:localhost]

2022-12-26 04:41:10 | [Mutex] waiting for: [received:nodes:1dc5968b-7e9f-4388-9db3-0365f0129a61:localhost]

2022-12-26 04:41:10 | [Mutex] waiting for: [received:nodes:1dc5968b-7e9f-4388-9db3-0365f0129a61:localhost]

2022-12-26 04:41:10 | [Mutex] waiting for: [received:nodes:1dc5968b-7e9f-4388-9db3-0365f0129a61:localhost]

2022-12-26 04:41:10 | [Mutex] received everything.

2022-12-26 04:41:10 | [Mutex] isItemNotified: received:node:1dc5968b-7e9f-4388-9db3-0365f0129a61:localhost:node-208daf2d-8722-4abb-8159-cc4b500c7b0b:Node 208daf2d-8722-4abb-8159-cc4b500c7b0b :: true

createSubnodes 1.026s
2022-12-26 04:41:10 |

2022-12-26 04:41:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:10 | ------------------------------------

2022-12-26 04:41:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d62e3e00-7eaa-4b02-b7e8-084bdd1205d0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d62e3e00-7eaa-4b02-b7e8-084bdd1205d0</title></pubsub></data>

2022-12-26 04:41:10 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 04:41:11 | [Mutex] waiting for: [received:nodes:c2e5a59d-51c3-48fe-9504-80bd52b01cd9:localhost]

2022-12-26 04:41:11 | [Mutex] waiting for: [received:nodes:c2e5a59d-51c3-48fe-9504-80bd52b01cd9:localhost]

2022-12-26 04:41:11 | [Mutex] waiting for: [received:nodes:c2e5a59d-51c3-48fe-9504-80bd52b01cd9:localhost]

2022-12-26 04:41:11 | [Mutex] waiting for: [received:nodes:c2e5a59d-51c3-48fe-9504-80bd52b01cd9:localhost]

2022-12-26 04:41:11 | [Mutex] received everything.

2022-12-26 04:41:11 | [Mutex] isItemNotified: received:node:c2e5a59d-51c3-48fe-9504-80bd52b01cd9:localhost:node-d62e3e00-7eaa-4b02-b7e8-084bdd1205d0:Node d62e3e00-7eaa-4b02-b7e8-084bdd1205d0 :: true

deleteNodes 1.016s
2022-12-26 04:41:16 |

2022-12-26 04:41:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:16 | ------------------------------------

2022-12-26 04:41:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d62e3e00-7eaa-4b02-b7e8-084bdd1205d0</node></data>

2022-12-26 04:41:16 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 04:41:17 | [Mutex] waiting for: [received:nodes:2770be0c-29ac-4ca0-aa8e-b8677000083b:localhost]

2022-12-26 04:41:17 | [Mutex] waiting for: [received:nodes:2770be0c-29ac-4ca0-aa8e-b8677000083b:localhost]

2022-12-26 04:41:17 | [Mutex] waiting for: [received:nodes:2770be0c-29ac-4ca0-aa8e-b8677000083b:localhost]

2022-12-26 04:41:17 | [Mutex] received everything.

2022-12-26 04:41:17 | [Mutex] isItemNotified: received:node:2770be0c-29ac-4ca0-aa8e-b8677000083b:localhost:node-d62e3e00-7eaa-4b02-b7e8-084bdd1205d0:Node d62e3e00-7eaa-4b02-b7e8-084bdd1205d0 :: false

deleteSubnodes 1.120s
2022-12-26 04:41:15 |

2022-12-26 04:41:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:15 | ------------------------------------

2022-12-26 04:41:15 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-208daf2d-8722-4abb-8159-cc4b500c7b0b</node></data>

2022-12-26 04:41:15 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 04:41:16 | [Mutex] waiting for: [received:nodes:4ccb1c02-d604-4ae4-abfa-f8dfd0db06d7:localhost]

2022-12-26 04:41:16 | [Mutex] waiting for: [received:nodes:4ccb1c02-d604-4ae4-abfa-f8dfd0db06d7:localhost]

2022-12-26 04:41:16 | [Mutex] waiting for: [received:nodes:4ccb1c02-d604-4ae4-abfa-f8dfd0db06d7:localhost]

2022-12-26 04:41:16 | [Mutex] waiting for: [received:nodes:4ccb1c02-d604-4ae4-abfa-f8dfd0db06d7:localhost]

2022-12-26 04:41:16 | [Mutex] waiting for: [received:nodes:4ccb1c02-d604-4ae4-abfa-f8dfd0db06d7:localhost]

2022-12-26 04:41:16 | [Mutex] received everything.

2022-12-26 04:41:16 | [Mutex] isItemNotified: received:node:4ccb1c02-d604-4ae4-abfa-f8dfd0db06d7:localhost:node-208daf2d-8722-4abb-8159-cc4b500c7b0b:Node 208daf2d-8722-4abb-8159-cc4b500c7b0b :: false

2022-12-26 04:41:16 | [Mutex] waiting for: [received:nodes:3a865d79-4d9a-4964-ba71-bb5500c045ef:localhost]

2022-12-26 04:41:16 | [Mutex] received everything.

2022-12-26 04:41:16 | [Mutex] isItemNotified: received:node:3a865d79-4d9a-4964-ba71-bb5500c045ef:localhost:node-208daf2d-8722-4abb-8159-cc4b500c7b0b:Node 208daf2d-8722-4abb-8159-cc4b500c7b0b :: false

publishItemsToNodes 0.180s
2022-12-26 04:41:13 |

2022-12-26 04:41:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:13 | ------------------------------------

2022-12-26 04:41:13 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-208daf2d-8722-4abb-8159-cc4b500c7b0b</node><item-id>item-7d3e0987-35ba-46b3-9659-0528819bdbc1</item-id><entry><test>item-7d3e0987-35ba-46b3-9659-0528819bdbc1</test></entry></data>

2022-12-26 04:41:14 | 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-7d3e0987-35ba-46b3-9659-0528819bdbc1</value></item-id></result>

2022-12-26 04:41:14 | [Mutex] received everything.

2022-12-26 04:41:14 | [Mutex] isItemNotified: published:item:notifieditem-7d3e0987-35ba-46b3-9659-0528819bdbc1:admin@test-domain.com :: true

retractItemsFromNodes 0.260s
2022-12-26 04:41:14 |

2022-12-26 04:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:14 | ------------------------------------

2022-12-26 04:41:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-208daf2d-8722-4abb-8159-cc4b500c7b0b</node><item-id>item-7d3e0987-35ba-46b3-9659-0528819bdbc1</item-id></data>

2022-12-26 04:41:14 | 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-7d3e0987-35ba-46b3-9659-0528819bdbc1</value></item-id></result>

2022-12-26 04:41:14 | [Mutex] received everything.

2022-12-26 04:41:14 | [Mutex] isItemNotified: retracted:item:notifieditem-7d3e0987-35ba-46b3-9659-0528819bdbc1:admin@test-domain.com :: true

retrieveItemsFromNodes 0.222s
2022-12-26 04:41:14 |

2022-12-26 04:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:14 | ------------------------------------

2022-12-26 04:41:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-208daf2d-8722-4abb-8159-cc4b500c7b0b</node><item-id>item-7d3e0987-35ba-46b3-9659-0528819bdbc1</item-id></data>

2022-12-26 04:41:14 | 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-208daf2d-8722-4abb-8159-cc4b500c7b0b</value></node><item-id label="Item ID" type="text-single"><value>item-7d3e0987-35ba-46b3-9659-0528819bdbc1</value></item-id><item label="Item" type="text-multi"><value><item id="item-7d3e0987-35ba-46b3-9659-0528819bdbc1"><test>item-7d3e0987-35ba-46b3-9659-0528819bdbc1</test></item></value></item></result>

2022-12-26 04:41:14 | [Mutex] notify: [retrieved:item:item-7d3e0987-35ba-46b3-9659-0528819bdbc1:payload-matches:true:localhost]

2022-12-26 04:41:14 | [Mutex] received everything.

2022-12-26 04:41:14 | [Mutex] isItemNotified: retrieved:item:item-7d3e0987-35ba-46b3-9659-0528819bdbc1:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-12-26 04:41:14 |

2022-12-26 04:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:14 | ------------------------------------

2022-12-26 04:41:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-26 04:41:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-d62e3e00-7eaa-4b02-b7e8-084bdd1205d0</value><value>test</value><value>node-208daf2d-8722-4abb-8159-cc4b500c7b0b</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-12-26 04:41:14 |

2022-12-26 04:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:14 | ------------------------------------

2022-12-26 04:41:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-208daf2d-8722-4abb-8159-cc4b500c7b0b)</node-pattern></data>

2022-12-26 04:41:14 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.139s
2022-12-26 04:41:12 |

2022-12-26 04:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:12 | ------------------------------------

2022-12-26 04:41:12 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-208daf2d-8722-4abb-8159-cc4b500c7b0b</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.228s
2022-12-26 04:41:14 |

2022-12-26 04:41:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:41:14 | ------------------------------------

2022-12-26 04:41:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-208daf2d-8722-4abb-8159-cc4b500c7b0b</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-26 04:41:14 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>