Generated by TestNG with ReportNG at 22:49 PDT on Wednesday 05 July 2023
root@8f5c98824654 / Java 17.0.6 (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.812s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.712s
2023-07-05 23:04:35 |

2023-07-05 23:04:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-05 23:04:35 | ------------------------------------

2023-07-05 23:04:35 | [Mutex] isItemNotified: node_5diun70208:exists :: false

2023-07-05 23:04:35 | [Mutex] waiting for: [node_5diun70208:create_node]

2023-07-05 23:04:35 | [Mutex] waiting for: [node_5diun70208:create_node]

2023-07-05 23:04:35 | [Mutex] received everything.

2023-07-05 23:04:35 | [Mutex] isItemNotified: node_5diun70208:create_node:success :: true

2023-07-05 23:04:35 | [Mutex] waiting for: [node_5diun70208:subscribe_node]

2023-07-05 23:04:35 | [Mutex] waiting for: [node_5diun70208:subscribe_node]

2023-07-05 23:04:35 | [Mutex] received everything.

2023-07-05 23:04:35 | [Mutex] isItemNotified: node_5diun70208:subscribe_node:success :: true

2023-07-05 23:04:35 |


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


2023-07-05 23:04:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 23:04:35 | command: <data><node>node_5diun70208</node><entry><content>content_tnx4ag0209</content></entry></data>

2023-07-05 23:04:35 | target: http://localhost:8088

2023-07-05 23:04:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-05 23:04:35 | entity: <data><node>node_5diun70208</node><entry><content>content_tnx4ag0209</content></entry></data>

2023-07-05 23:04:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:04:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 23:04:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dc4ca82f-27e5-4264-ae56-cd71973bc2da</value></item-id></result>

2023-07-05 23:04:35 | contains: true

2023-07-05 23:04:35 | [Mutex] waiting for: [user_regulari31vz70207@test-domain.com:message:received:content_tnx4ag0209]

2023-07-05 23:04:35 | [Mutex] received everything.

2023-07-05 23:04:35 | [Mutex] isItemNotified: user_regulari31vz70207@test-domain.com:message:received:content_tnx4ag0209 :: true

2023-07-05 23:04:35 |


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


2023-07-05 23:04:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 23:04:35 | command: <data><node>node_5diun70208</node><expire-at>2023-07-06T06:04:30Z</expire-at><entry><content>content_zfig8v0210</content></entry></data>

2023-07-05 23:04:35 | target: http://localhost:8088

2023-07-05 23:04:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-05 23:04:35 | entity: <data><node>node_5diun70208</node><expire-at>2023-07-06T06:04:30Z</expire-at><entry><content>content_zfig8v0210</content></entry></data>

2023-07-05 23:04:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:04:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 23:04:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c69e1f0-fa6c-49d8-bf35-b0f5353d50a2</value></item-id></result>

2023-07-05 23:04:35 | contains: true

2023-07-05 23:04:35 | [Mutex] waiting for: [user_regulari31vz70207@test-domain.com:message:received:content_zfig8v0210]

2023-07-05 23:04:50 | [Mutex] timeout. Not received [user_regulari31vz70207@test-domain.com:message:received:content_zfig8v0210]

2023-07-05 23:04:50 | [Mutex] isItemNotified: user_regulari31vz70207@test-domain.com:message:received:content_zfig8v0210 :: false

2023-07-05 23:04:50 |


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


2023-07-05 23:04:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 23:04:50 | command: <data><node>node_5diun70208</node><entry><content>content_tgi3l40211</content></entry></data>

2023-07-05 23:04:50 | target: http://localhost:8088

2023-07-05 23:04:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-05 23:04:50 | entity: <data><node>node_5diun70208</node><entry><content>content_tgi3l40211</content></entry></data>

2023-07-05 23:04:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:04:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 23:04:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f30590c-37eb-4f90-89fc-670ff8b76280</value></item-id></result>

2023-07-05 23:04:50 | contains: true

2023-07-05 23:04:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-05 23:04:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-05 23:04:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-05 23:04:55 | [Mutex] waiting for: [user_regulari31vz70207@test-domain.com:message:received:content_tgi3l40211]

2023-07-05 23:04:55 | [Mutex] waiting for: [user_regulari31vz70207@test-domain.com:message:received:content_tgi3l40211]

2023-07-05 23:04:55 | [Mutex] received everything.

2023-07-05 23:04:55 | [Mutex] isItemNotified: user_regulari31vz70207@test-domain.com:message:received:content_tgi3l40211 :: true

2023-07-05 23:04:55 |


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


2023-07-05 23:04:55 | [Mutex] received everything.

2023-07-05 23:04:55 | [Mutex] isItemNotified: node_5diun70208:subscribe_node:success :: true

2023-07-05 23:04:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-05 23:04:55 | command: <data><node>node_5diun70208</node><expire-at>2023-07-06T06:05:00Z</expire-at><entry><content>content_5r3kwa0212</content></entry></data>

2023-07-05 23:04:55 | target: http://localhost:8088

2023-07-05 23:04:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-05 23:04:55 | entity: <data><node>node_5diun70208</node><expire-at>2023-07-06T06:05:00Z</expire-at><entry><content>content_5r3kwa0212</content></entry></data>

2023-07-05 23:04:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 06:04:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-05 23:04:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7733cd51-4f05-4739-8c44-56bd04861f7b</value></item-id></result>

2023-07-05 23:04:55 | contains: true

2023-07-05 23:05:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-05 23:05:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-07-05 23:05:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-05 23:05:04 | [Mutex] waiting for: [user_regulari31vz70207@test-domain.com:message:received:content_5r3kwa0212]

2023-07-05 23:05:19 | [Mutex] timeout. Not received [user_regulari31vz70207@test-domain.com:message:received:content_5r3kwa0212]

2023-07-05 23:05:19 | [Mutex] received everything.

2023-07-05 23:05:19 | [Mutex] isItemNotified: user_regulari31vz70207@test-domain.com:message:received:content_5r3kwa0212 :: false

2023-07-05 23:05:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5r3kwa0212 :: true