Generated by TestNG with ReportNG at 22:50 PDT on Sunday 19 June 2022
root@21fb2cc9076b / 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 : 45.010s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.730s
2022-06-19 23:05:39 |

2022-06-19 23:05:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-19 23:05:39 | ------------------------------------

2022-06-19 23:05:39 | [Mutex] isItemNotified: node_z89o7a0204:exists :: false

2022-06-19 23:05:39 | [Mutex] waiting for: [node_z89o7a0204:create_node]

2022-06-19 23:05:39 | [Mutex] waiting for: [node_z89o7a0204:create_node]

2022-06-19 23:05:39 | [Mutex] received everything.

2022-06-19 23:05:39 | [Mutex] isItemNotified: node_z89o7a0204:create_node:success :: true

2022-06-19 23:05:39 | [Mutex] waiting for: [node_z89o7a0204:subscribe_node]

2022-06-19 23:05:39 | [Mutex] received everything.

2022-06-19 23:05:39 | [Mutex] isItemNotified: node_z89o7a0204:subscribe_node:success :: true

2022-06-19 23:05:39 |


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


2022-06-19 23:05:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-19 23:05:39 | command: <data><node>node_z89o7a0204</node><entry><content>content_3q2xsn0205</content></entry></data>

2022-06-19 23:05:39 | target: http://localhost:8088

2022-06-19 23:05:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-19 23:05:39 | entity: <data><node>node_z89o7a0204</node><entry><content>content_3q2xsn0205</content></entry></data>

2022-06-19 23:05:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Jun 2022 06:05:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-19 23:05:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>63a01cb2-ca25-4f72-87d7-ef48a4ff5e2e</value></item-id></result>

2022-06-19 23:05:39 | contains: true

2022-06-19 23:05:39 | [Mutex] received everything.

2022-06-19 23:05:39 | [Mutex] isItemNotified: user_regular7lq8ue0203@test-domain.com:message:received:content_3q2xsn0205 :: true

2022-06-19 23:05:39 |


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


2022-06-19 23:05:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-19 23:05:39 | command: <data><node>node_z89o7a0204</node><expire-at>2022-06-20T06:05:34Z</expire-at><entry><content>content_l2lm0q0206</content></entry></data>

2022-06-19 23:05:39 | target: http://localhost:8088

2022-06-19 23:05:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-19 23:05:39 | entity: <data><node>node_z89o7a0204</node><expire-at>2022-06-20T06:05:34Z</expire-at><entry><content>content_l2lm0q0206</content></entry></data>

2022-06-19 23:05:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Jun 2022 06:05:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-19 23:05:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>95f9338d-287f-4b64-81b7-17d742792cb4</value></item-id></result>

2022-06-19 23:05:39 | contains: true

2022-06-19 23:05:39 | [Mutex] waiting for: [user_regular7lq8ue0203@test-domain.com:message:received:content_l2lm0q0206]

2022-06-19 23:05:54 | [Mutex] timeout. Not received [user_regular7lq8ue0203@test-domain.com:message:received:content_l2lm0q0206]

2022-06-19 23:05:54 | [Mutex] isItemNotified: user_regular7lq8ue0203@test-domain.com:message:received:content_l2lm0q0206 :: false

2022-06-19 23:05:54 |


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


2022-06-19 23:05:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-19 23:05:54 | command: <data><node>node_z89o7a0204</node><entry><content>content_qt4wkd0207</content></entry></data>

2022-06-19 23:05:54 | target: http://localhost:8088

2022-06-19 23:05:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-19 23:05:54 | entity: <data><node>node_z89o7a0204</node><entry><content>content_qt4wkd0207</content></entry></data>

2022-06-19 23:05:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Jun 2022 06:05:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-19 23:05:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65dfcf6c-8e52-46ca-a524-06b7d56d3ff4</value></item-id></result>

2022-06-19 23:05:54 | contains: true

2022-06-19 23:05:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-06-19 23:05:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-19 23:05:59 | [Mutex] waiting for: [user_regular7lq8ue0203@test-domain.com:message:received:content_qt4wkd0207]

2022-06-19 23:05:59 | [Mutex] waiting for: [user_regular7lq8ue0203@test-domain.com:message:received:content_qt4wkd0207]

2022-06-19 23:05:59 | [Mutex] received everything.

2022-06-19 23:05:59 | [Mutex] isItemNotified: user_regular7lq8ue0203@test-domain.com:message:received:content_qt4wkd0207 :: true

2022-06-19 23:05:59 |


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


2022-06-19 23:05:59 | [Mutex] received everything.

2022-06-19 23:05:59 | [Mutex] isItemNotified: node_z89o7a0204:subscribe_node:success :: true

2022-06-19 23:05:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-19 23:05:59 | command: <data><node>node_z89o7a0204</node><expire-at>2022-06-20T06:06:04Z</expire-at><entry><content>content_st5ztp0208</content></entry></data>

2022-06-19 23:05:59 | target: http://localhost:8088

2022-06-19 23:05:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-19 23:05:59 | entity: <data><node>node_z89o7a0204</node><expire-at>2022-06-20T06:06:04Z</expire-at><entry><content>content_st5ztp0208</content></entry></data>

2022-06-19 23:05:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Jun 2022 06:05:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-19 23:05:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e873b31b-b29b-4623-af18-f573cfaa6540</value></item-id></result>

2022-06-19 23:05:59 | contains: true

2022-06-19 23:06:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-19 23:06:08 | [Mutex] waiting for: [user_regular7lq8ue0203@test-domain.com:message:received:content_st5ztp0208]

2022-06-19 23:06:08 | [Mutex] waiting for: [user_regular7lq8ue0203@test-domain.com:message:received:content_st5ztp0208]

2022-06-19 23:06:23 | [Mutex] timeout. Not received [user_regular7lq8ue0203@test-domain.com:message:received:content_st5ztp0208]

2022-06-19 23:06:23 | [Mutex] received everything.

2022-06-19 23:06:23 | [Mutex] isItemNotified: user_regular7lq8ue0203@test-domain.com:message:received:content_st5ztp0208 :: false

2022-06-19 23:06:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_st5ztp0208 :: true