Generated by TestNG with ReportNG at 22:17 PDT on Friday 08 July 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 44.855s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.744s
2022-07-08 22:32:09 |

2022-07-08 22:32:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-08 22:32:09 | ------------------------------------

2022-07-08 22:32:09 | [Mutex] isItemNotified: node_6c6y6c0204:exists :: false

2022-07-08 22:32:09 | [Mutex] waiting for: [node_6c6y6c0204:create_node]

2022-07-08 22:32:09 | [Mutex] received everything.

2022-07-08 22:32:09 | [Mutex] isItemNotified: node_6c6y6c0204:create_node:success :: true

2022-07-08 22:32:09 | [Mutex] waiting for: [node_6c6y6c0204:subscribe_node]

2022-07-08 22:32:09 | [Mutex] received everything.

2022-07-08 22:32:09 | [Mutex] isItemNotified: node_6c6y6c0204:subscribe_node:success :: true

2022-07-08 22:32:09 |


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


2022-07-08 22:32:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-08 22:32:09 | command: <data><node>node_6c6y6c0204</node><entry><content>content_8v91mx0205</content></entry></data>

2022-07-08 22:32:09 | target: http://localhost:8088

2022-07-08 22:32:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-08 22:32:09 | entity: <data><node>node_6c6y6c0204</node><entry><content>content_8v91mx0205</content></entry></data>

2022-07-08 22:32:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:32:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 22:32:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6970a65b-da4d-4c2f-81a4-d52c36506c1f</value></item-id></result>

2022-07-08 22:32:09 | contains: true

2022-07-08 22:32:09 | [Mutex] received everything.

2022-07-08 22:32:09 | [Mutex] isItemNotified: user_regular39ztnv0203@test-domain.com:message:received:content_8v91mx0205 :: true

2022-07-08 22:32:09 |


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


2022-07-08 22:32:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-08 22:32:09 | command: <data><node>node_6c6y6c0204</node><expire-at>2022-07-09T05:32:04Z</expire-at><entry><content>content_e6mr0206</content></entry></data>

2022-07-08 22:32:09 | target: http://localhost:8088

2022-07-08 22:32:09 | entity: [Content-Type: application/xml,Content-Length: 134,Chunked: false]

2022-07-08 22:32:09 | entity: <data><node>node_6c6y6c0204</node><expire-at>2022-07-09T05:32:04Z</expire-at><entry><content>content_e6mr0206</content></entry></data>

2022-07-08 22:32:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:32:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 22:32:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>06b749d2-b1a2-4523-b931-e4448db44a1b</value></item-id></result>

2022-07-08 22:32:09 | contains: true

2022-07-08 22:32:09 | [Mutex] waiting for: [user_regular39ztnv0203@test-domain.com:message:received:content_e6mr0206]

2022-07-08 22:32:24 | [Mutex] timeout. Not received [user_regular39ztnv0203@test-domain.com:message:received:content_e6mr0206]

2022-07-08 22:32:24 | [Mutex] isItemNotified: user_regular39ztnv0203@test-domain.com:message:received:content_e6mr0206 :: false

2022-07-08 22:32:24 |


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


2022-07-08 22:32:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-08 22:32:24 | command: <data><node>node_6c6y6c0204</node><entry><content>content_87zaec0207</content></entry></data>

2022-07-08 22:32:24 | target: http://localhost:8088

2022-07-08 22:32:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-08 22:32:24 | entity: <data><node>node_6c6y6c0204</node><entry><content>content_87zaec0207</content></entry></data>

2022-07-08 22:32:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:32:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 22:32:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>da59eb31-b550-4b33-be17-6d22a74be87a</value></item-id></result>

2022-07-08 22:32:25 | contains: true

2022-07-08 22:32:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-07-08 22:32:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-08 22:32:30 | [Mutex] waiting for: [user_regular39ztnv0203@test-domain.com:message:received:content_87zaec0207]

2022-07-08 22:32:30 | [Mutex] waiting for: [user_regular39ztnv0203@test-domain.com:message:received:content_87zaec0207]

2022-07-08 22:32:30 | [Mutex] received everything.

2022-07-08 22:32:30 | [Mutex] isItemNotified: user_regular39ztnv0203@test-domain.com:message:received:content_87zaec0207 :: true

2022-07-08 22:32:30 |


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


2022-07-08 22:32:30 | [Mutex] received everything.

2022-07-08 22:32:30 | [Mutex] isItemNotified: node_6c6y6c0204:subscribe_node:success :: true

2022-07-08 22:32:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-08 22:32:30 | command: <data><node>node_6c6y6c0204</node><expire-at>2022-07-09T05:32:35Z</expire-at><entry><content>content_mpd6eb0208</content></entry></data>

2022-07-08 22:32:30 | target: http://localhost:8088

2022-07-08 22:32:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-08 22:32:30 | entity: <data><node>node_6c6y6c0204</node><expire-at>2022-07-09T05:32:35Z</expire-at><entry><content>content_mpd6eb0208</content></entry></data>

2022-07-08 22:32:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:32:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-08 22:32:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c62d1630-ec8c-4beb-a58d-5918acb6b12b</value></item-id></result>

2022-07-08 22:32:30 | contains: true

2022-07-08 22:32:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-07-08 22:32:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-08 22:32:38 | [Mutex] waiting for: [user_regular39ztnv0203@test-domain.com:message:received:content_mpd6eb0208]

2022-07-08 22:32:53 | [Mutex] timeout. Not received [user_regular39ztnv0203@test-domain.com:message:received:content_mpd6eb0208]

2022-07-08 22:32:53 | [Mutex] received everything.

2022-07-08 22:32:53 | [Mutex] isItemNotified: user_regular39ztnv0203@test-domain.com:message:received:content_mpd6eb0208 :: false

2022-07-08 22:32:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mpd6eb0208 :: true