Generated by TestNG with ReportNG at 22:30 PDT on Wednesday 22 June 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.607s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.684s
2022-06-22 22:49:55 |

2022-06-22 22:49:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-22 22:49:55 | ------------------------------------

2022-06-22 22:49:55 | [Mutex] isItemNotified: node_r4af5l0204:exists :: false

2022-06-22 22:49:55 | [Mutex] waiting for: [node_r4af5l0204:create_node]

2022-06-22 22:49:55 | [Mutex] received everything.

2022-06-22 22:49:55 | [Mutex] isItemNotified: node_r4af5l0204:create_node:success :: true

2022-06-22 22:49:55 | [Mutex] waiting for: [node_r4af5l0204:subscribe_node]

2022-06-22 22:49:55 | [Mutex] waiting for: [node_r4af5l0204:subscribe_node]

2022-06-22 22:49:55 | [Mutex] received everything.

2022-06-22 22:49:55 | [Mutex] isItemNotified: node_r4af5l0204:subscribe_node:success :: true

2022-06-22 22:49:55 |


===== publishing normal message (to online)


2022-06-22 22:49:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:49:55 | command: <data><node>node_r4af5l0204</node><entry><content>content_ln8gw50205</content></entry></data>

2022-06-22 22:49:55 | target: http://localhost:8088

2022-06-22 22:49:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-22 22:49:55 | entity: <data><node>node_r4af5l0204</node><entry><content>content_ln8gw50205</content></entry></data>

2022-06-22 22:49:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:49:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:49:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3558400e-447c-427e-9dc1-857062a77e2c</value></item-id></result>

2022-06-22 22:49:55 | contains: true

2022-06-22 22:49:55 | [Mutex] received everything.

2022-06-22 22:49:55 | [Mutex] isItemNotified: user_regulargr1hwb0203@test-domain.com:message:received:content_ln8gw50205 :: true

2022-06-22 22:49:55 |


===== publishing already old message - expecting message being filtered out (to online)


2022-06-22 22:49:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:49:55 | command: <data><node>node_r4af5l0204</node><expire-at>2022-06-23T05:49:50Z</expire-at><entry><content>content_86ocvd0206</content></entry></data>

2022-06-22 22:49:55 | target: http://localhost:8088

2022-06-22 22:49:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-22 22:49:55 | entity: <data><node>node_r4af5l0204</node><expire-at>2022-06-23T05:49:50Z</expire-at><entry><content>content_86ocvd0206</content></entry></data>

2022-06-22 22:49:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:49:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:49:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>364a8827-7397-4079-a70b-3b9cbaa88195</value></item-id></result>

2022-06-22 22:49:55 | contains: true

2022-06-22 22:49:55 | [Mutex] waiting for: [user_regulargr1hwb0203@test-domain.com:message:received:content_86ocvd0206]

2022-06-22 22:50:10 | [Mutex] timeout. Not received [user_regulargr1hwb0203@test-domain.com:message:received:content_86ocvd0206]

2022-06-22 22:50:10 | [Mutex] isItemNotified: user_regulargr1hwb0203@test-domain.com:message:received:content_86ocvd0206 :: false

2022-06-22 22:50:10 |


===== publishing normal message (to offline)


2022-06-22 22:50:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:50:10 | command: <data><node>node_r4af5l0204</node><entry><content>content_vheiir0207</content></entry></data>

2022-06-22 22:50:10 | target: http://localhost:8088

2022-06-22 22:50:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-22 22:50:10 | entity: <data><node>node_r4af5l0204</node><entry><content>content_vheiir0207</content></entry></data>

2022-06-22 22:50:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:50:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:50:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27f77484-4dd4-4e30-b19a-4fe9096fed89</value></item-id></result>

2022-06-22 22:50:10 | contains: true

2022-06-22 22:50:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-22 22:50:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-06-22 22:50:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-22 22:50:15 | [Mutex] waiting for: [user_regulargr1hwb0203@test-domain.com:message:received:content_vheiir0207]

2022-06-22 22:50:15 | [Mutex] waiting for: [user_regulargr1hwb0203@test-domain.com:message:received:content_vheiir0207]

2022-06-22 22:50:15 | [Mutex] received everything.

2022-06-22 22:50:15 | [Mutex] isItemNotified: user_regulargr1hwb0203@test-domain.com:message:received:content_vheiir0207 :: true

2022-06-22 22:50:15 |


===== publishing already old message - expecting message being filtered out (to offline)


2022-06-22 22:50:15 | [Mutex] received everything.

2022-06-22 22:50:15 | [Mutex] isItemNotified: node_r4af5l0204:subscribe_node:success :: true

2022-06-22 22:50:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:50:15 | command: <data><node>node_r4af5l0204</node><expire-at>2022-06-23T05:50:20Z</expire-at><entry><content>content_lwk59u0208</content></entry></data>

2022-06-22 22:50:15 | target: http://localhost:8088

2022-06-22 22:50:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-22 22:50:15 | entity: <data><node>node_r4af5l0204</node><expire-at>2022-06-23T05:50:20Z</expire-at><entry><content>content_lwk59u0208</content></entry></data>

2022-06-22 22:50:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:50:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:50:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f9de85c5-b910-46f0-af84-6ac1a34277d1</value></item-id></result>

2022-06-22 22:50:15 | contains: true

2022-06-22 22:50:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-06-22 22:50:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-06-22 22:50:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-22 22:50:24 | [Mutex] waiting for: [user_regulargr1hwb0203@test-domain.com:message:received:content_lwk59u0208]

2022-06-22 22:50:24 | [Mutex] waiting for: [user_regulargr1hwb0203@test-domain.com:message:received:content_lwk59u0208]

2022-06-22 22:50:24 | [Mutex] waiting for: [user_regulargr1hwb0203@test-domain.com:message:received:content_lwk59u0208]

2022-06-22 22:50:39 | [Mutex] timeout. Not received [user_regulargr1hwb0203@test-domain.com:message:received:content_lwk59u0208]

2022-06-22 22:50:39 | [Mutex] received everything.

2022-06-22 22:50:39 | [Mutex] isItemNotified: user_regulargr1hwb0203@test-domain.com:message:received:content_lwk59u0208 :: false

2022-06-22 22:50:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lwk59u0208 :: true