Generated by TestNG with ReportNG at 22:16 PDT on Sunday 06 August 2023
root@a4d66e74f1de / Java 17.0.8 (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.645s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.573s
2023-08-06 22:31:05 |

2023-08-06 22:31:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-08-06 22:31:05 | ------------------------------------

2023-08-06 22:31:05 | [Mutex] isItemNotified: node_11r69q0208:exists :: false

2023-08-06 22:31:05 | [Mutex] waiting for: [node_11r69q0208:create_node]

2023-08-06 22:31:05 | [Mutex] waiting for: [node_11r69q0208:create_node]

2023-08-06 22:31:05 | [Mutex] received everything.

2023-08-06 22:31:05 | [Mutex] isItemNotified: node_11r69q0208:create_node:success :: true

2023-08-06 22:31:05 | [Mutex] waiting for: [node_11r69q0208:subscribe_node]

2023-08-06 22:31:05 | [Mutex] waiting for: [node_11r69q0208:subscribe_node]

2023-08-06 22:31:05 | [Mutex] received everything.

2023-08-06 22:31:05 | [Mutex] isItemNotified: node_11r69q0208:subscribe_node:success :: true

2023-08-06 22:31:05 |


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


2023-08-06 22:31:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-06 22:31:05 | command: <data><node>node_11r69q0208</node><entry><content>content_vc303r0209</content></entry></data>

2023-08-06 22:31:05 | target: http://localhost:8088

2023-08-06 22:31:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-06 22:31:05 | entity: <data><node>node_11r69q0208</node><entry><content>content_vc303r0209</content></entry></data>

2023-08-06 22:31:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:31:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-06 22:31:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9cbc0089-eb97-4ea6-a083-6499885fa760</value></item-id></result>

2023-08-06 22:31:05 | contains: true

2023-08-06 22:31:05 | [Mutex] received everything.

2023-08-06 22:31:05 | [Mutex] isItemNotified: user_regularij90s90207@test-domain.com:message:received:content_vc303r0209 :: true

2023-08-06 22:31:05 |


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


2023-08-06 22:31:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-06 22:31:05 | command: <data><node>node_11r69q0208</node><expire-at>2023-08-07T05:31:00Z</expire-at><entry><content>content_z04cbm0210</content></entry></data>

2023-08-06 22:31:05 | target: http://localhost:8088

2023-08-06 22:31:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-06 22:31:05 | entity: <data><node>node_11r69q0208</node><expire-at>2023-08-07T05:31:00Z</expire-at><entry><content>content_z04cbm0210</content></entry></data>

2023-08-06 22:31:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:31:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-06 22:31:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7b8c9e9b-688b-4c40-9eab-8699746a92ce</value></item-id></result>

2023-08-06 22:31:05 | contains: true

2023-08-06 22:31:05 | [Mutex] waiting for: [user_regularij90s90207@test-domain.com:message:received:content_z04cbm0210]

2023-08-06 22:31:20 | [Mutex] timeout. Not received [user_regularij90s90207@test-domain.com:message:received:content_z04cbm0210]

2023-08-06 22:31:20 | [Mutex] isItemNotified: user_regularij90s90207@test-domain.com:message:received:content_z04cbm0210 :: false

2023-08-06 22:31:20 |


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


2023-08-06 22:31:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-06 22:31:20 | command: <data><node>node_11r69q0208</node><entry><content>content_wg5mhf0211</content></entry></data>

2023-08-06 22:31:20 | target: http://localhost:8088

2023-08-06 22:31:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-06 22:31:20 | entity: <data><node>node_11r69q0208</node><entry><content>content_wg5mhf0211</content></entry></data>

2023-08-06 22:31:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:31:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-06 22:31:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7f737418-1ec6-4613-9341-ac3ff3c2af36</value></item-id></result>

2023-08-06 22:31:20 | contains: true

2023-08-06 22:31:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-08-06 22:31:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-08-06 22:31:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-06 22:31:25 | [Mutex] received everything.

2023-08-06 22:31:25 | [Mutex] isItemNotified: user_regularij90s90207@test-domain.com:message:received:content_wg5mhf0211 :: true

2023-08-06 22:31:25 |


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


2023-08-06 22:31:25 | [Mutex] received everything.

2023-08-06 22:31:25 | [Mutex] isItemNotified: node_11r69q0208:subscribe_node:success :: true

2023-08-06 22:31:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-06 22:31:26 | command: <data><node>node_11r69q0208</node><expire-at>2023-08-07T05:31:31Z</expire-at><entry><content>content_px8l350212</content></entry></data>

2023-08-06 22:31:26 | target: http://localhost:8088

2023-08-06 22:31:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-06 22:31:26 | entity: <data><node>node_11r69q0208</node><expire-at>2023-08-07T05:31:31Z</expire-at><entry><content>content_px8l350212</content></entry></data>

2023-08-06 22:31:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Aug 2023 05:31:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-06 22:31:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b655d444-26c2-4a56-aa80-4e42cd0203da</value></item-id></result>

2023-08-06 22:31:26 | contains: true

2023-08-06 22:31:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-08-06 22:31:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-08-06 22:31:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-06 22:31:34 | [Mutex] waiting for: [user_regularij90s90207@test-domain.com:message:received:content_px8l350212]

2023-08-06 22:31:49 | [Mutex] timeout. Not received [user_regularij90s90207@test-domain.com:message:received:content_px8l350212]

2023-08-06 22:31:49 | [Mutex] received everything.

2023-08-06 22:31:49 | [Mutex] isItemNotified: user_regularij90s90207@test-domain.com:message:received:content_px8l350212 :: false

2023-08-06 22:31:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_px8l350212 :: true