Generated by TestNG with ReportNG at 22:22 PDT on Wednesday 27 April 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 : 44.973s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.584s
2022-04-27 22:38:06 |

2022-04-27 22:38:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-04-27 22:38:06 | ------------------------------------

2022-04-27 22:38:06 | [Mutex] isItemNotified: node_js3jie0204:exists :: false

2022-04-27 22:38:06 | [Mutex] waiting for: [node_js3jie0204:create_node]

2022-04-27 22:38:06 | [Mutex] waiting for: [node_js3jie0204:create_node]

2022-04-27 22:38:06 | [Mutex] received everything.

2022-04-27 22:38:06 | [Mutex] isItemNotified: node_js3jie0204:create_node:success :: true

2022-04-27 22:38:06 | [Mutex] waiting for: [node_js3jie0204:subscribe_node]

2022-04-27 22:38:06 | [Mutex] received everything.

2022-04-27 22:38:06 | [Mutex] isItemNotified: node_js3jie0204:subscribe_node:success :: true

2022-04-27 22:38:06 |


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


2022-04-27 22:38:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 22:38:06 | command: <data><node>node_js3jie0204</node><entry><content>content_42x9450205</content></entry></data>

2022-04-27 22:38:06 | target: http://localhost:8088

2022-04-27 22:38:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-27 22:38:06 | entity: <data><node>node_js3jie0204</node><entry><content>content_42x9450205</content></entry></data>

2022-04-27 22:38:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 05:38:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-27 22:38:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2eb846ee-cfa7-4c8c-95ca-99d5d91d729e</value></item-id></result>

2022-04-27 22:38:06 | contains: true

2022-04-27 22:38:06 | [Mutex] received everything.

2022-04-27 22:38:06 | [Mutex] isItemNotified: user_regular59y3gs0203@test-domain.com:message:received:content_42x9450205 :: true

2022-04-27 22:38:06 |


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


2022-04-27 22:38:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 22:38:06 | command: <data><node>node_js3jie0204</node><expire-at>2022-04-28T05:38:01Z</expire-at><entry><content>content_gocmup0206</content></entry></data>

2022-04-27 22:38:06 | target: http://localhost:8088

2022-04-27 22:38:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-27 22:38:06 | entity: <data><node>node_js3jie0204</node><expire-at>2022-04-28T05:38:01Z</expire-at><entry><content>content_gocmup0206</content></entry></data>

2022-04-27 22:38:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 05:38:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-27 22:38:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>92bfddf8-b796-44ff-9384-d2d1f3d32b7e</value></item-id></result>

2022-04-27 22:38:06 | contains: true

2022-04-27 22:38:06 | [Mutex] waiting for: [user_regular59y3gs0203@test-domain.com:message:received:content_gocmup0206]

2022-04-27 22:38:21 | [Mutex] timeout. Not received [user_regular59y3gs0203@test-domain.com:message:received:content_gocmup0206]

2022-04-27 22:38:21 | [Mutex] isItemNotified: user_regular59y3gs0203@test-domain.com:message:received:content_gocmup0206 :: false

2022-04-27 22:38:21 |


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


2022-04-27 22:38:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 22:38:21 | command: <data><node>node_js3jie0204</node><entry><content>content_5aix6j0207</content></entry></data>

2022-04-27 22:38:21 | target: http://localhost:8088

2022-04-27 22:38:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-04-27 22:38:21 | entity: <data><node>node_js3jie0204</node><entry><content>content_5aix6j0207</content></entry></data>

2022-04-27 22:38:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 05:38:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-27 22:38:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d0994e0c-d3b9-4e2e-bd25-a3da2f1968f9</value></item-id></result>

2022-04-27 22:38:21 | contains: true

2022-04-27 22:38:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-04-27 22:38:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-04-27 22:38:26 | [Mutex] waiting for: [user_regular59y3gs0203@test-domain.com:message:received:content_5aix6j0207]

2022-04-27 22:38:26 | [Mutex] received everything.

2022-04-27 22:38:26 | [Mutex] isItemNotified: user_regular59y3gs0203@test-domain.com:message:received:content_5aix6j0207 :: true

2022-04-27 22:38:26 |


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


2022-04-27 22:38:26 | [Mutex] received everything.

2022-04-27 22:38:26 | [Mutex] isItemNotified: node_js3jie0204:subscribe_node:success :: true

2022-04-27 22:38:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-04-27 22:38:26 | command: <data><node>node_js3jie0204</node><expire-at>2022-04-28T05:38:31Z</expire-at><entry><content>content_hpxvy00208</content></entry></data>

2022-04-27 22:38:26 | target: http://localhost:8088

2022-04-27 22:38:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-04-27 22:38:26 | entity: <data><node>node_js3jie0204</node><expire-at>2022-04-28T05:38:31Z</expire-at><entry><content>content_hpxvy00208</content></entry></data>

2022-04-27 22:38:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 05:38:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-04-27 22:38:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>05489ab9-8961-46a8-9f65-3939dff698a3</value></item-id></result>

2022-04-27 22:38:26 | contains: true

2022-04-27 22:38:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-04-27 22:38:34 | [Mutex] waiting for: [user_regular59y3gs0203@test-domain.com:message:received:content_hpxvy00208]

2022-04-27 22:38:34 | [Mutex] waiting for: [user_regular59y3gs0203@test-domain.com:message:received:content_hpxvy00208]

2022-04-27 22:38:49 | [Mutex] timeout. Not received [user_regular59y3gs0203@test-domain.com:message:received:content_hpxvy00208]

2022-04-27 22:38:49 | [Mutex] received everything.

2022-04-27 22:38:49 | [Mutex] isItemNotified: user_regular59y3gs0203@test-domain.com:message:received:content_hpxvy00208 :: false

2022-04-27 22:38:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hpxvy00208 :: true