Generated by TestNG with ReportNG at 22:16 PDT on Sunday 04 June 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.468s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.616s
2023-06-04 22:30:48 |

2023-06-04 22:30:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-06-04 22:30:48 | ------------------------------------

2023-06-04 22:30:48 | [Mutex] isItemNotified: node_incc110208:exists :: false

2023-06-04 22:30:48 | [Mutex] waiting for: [node_incc110208:create_node]

2023-06-04 22:30:48 | [Mutex] received everything.

2023-06-04 22:30:48 | [Mutex] isItemNotified: node_incc110208:create_node:success :: true

2023-06-04 22:30:48 | [Mutex] waiting for: [node_incc110208:subscribe_node]

2023-06-04 22:30:48 | [Mutex] waiting for: [node_incc110208:subscribe_node]

2023-06-04 22:30:48 | [Mutex] received everything.

2023-06-04 22:30:48 | [Mutex] isItemNotified: node_incc110208:subscribe_node:success :: true

2023-06-04 22:30:48 |


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


2023-06-04 22:30:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:30:48 | command: <data><node>node_incc110208</node><entry><content>content_dl6beo0209</content></entry></data>

2023-06-04 22:30:48 | target: http://localhost:8088

2023-06-04 22:30:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-04 22:30:48 | entity: <data><node>node_incc110208</node><entry><content>content_dl6beo0209</content></entry></data>

2023-06-04 22:30:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:30:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 22:30:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>46a40fa8-f2be-49e7-bd07-cbea75a59529</value></item-id></result>

2023-06-04 22:30:48 | contains: true

2023-06-04 22:30:48 | [Mutex] received everything.

2023-06-04 22:30:48 | [Mutex] isItemNotified: user_regularmyk9rz0207@test-domain.com:message:received:content_dl6beo0209 :: true

2023-06-04 22:30:48 |


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


2023-06-04 22:30:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-04 22:30:48 | command: <data><node>node_incc110208</node><expire-at>2023-06-05T05:30:43Z</expire-at><entry><content>content_fmhapn0210</content></entry></data>

2023-06-04 22:30:48 | target: http://localhost:8088

2023-06-04 22:30:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-04 22:30:48 | entity: <data><node>node_incc110208</node><expire-at>2023-06-05T05:30:43Z</expire-at><entry><content>content_fmhapn0210</content></entry></data>

2023-06-04 22:30:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:30:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-04 22:30:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a00b6480-d814-4ee9-8716-8b0161887e7e</value></item-id></result>

2023-06-04 22:30:48 | contains: true

2023-06-04 22:30:48 | [Mutex] waiting for: [user_regularmyk9rz0207@test-domain.com:message:received:content_fmhapn0210]

2023-06-04 22:31:03 | [Mutex] timeout. Not received [user_regularmyk9rz0207@test-domain.com:message:received:content_fmhapn0210]

2023-06-04 22:31:03 | [Mutex] isItemNotified: user_regularmyk9rz0207@test-domain.com:message:received:content_fmhapn0210 :: false

2023-06-04 22:31:03 |


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


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

2023-06-04 22:31:03 | command: <data><node>node_incc110208</node><entry><content>content_1nrb8y0211</content></entry></data>

2023-06-04 22:31:03 | target: http://localhost:8088

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

2023-06-04 22:31:03 | entity: <data><node>node_incc110208</node><entry><content>content_1nrb8y0211</content></entry></data>

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

2023-06-04 22:31:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>679e77ea-93cd-4d12-96ca-5f406158348f</value></item-id></result>

2023-06-04 22:31:03 | contains: true

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

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

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

2023-06-04 22:31:08 | [Mutex] waiting for: [user_regularmyk9rz0207@test-domain.com:message:received:content_1nrb8y0211]

2023-06-04 22:31:08 | [Mutex] waiting for: [user_regularmyk9rz0207@test-domain.com:message:received:content_1nrb8y0211]

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

2023-06-04 22:31:08 | [Mutex] isItemNotified: user_regularmyk9rz0207@test-domain.com:message:received:content_1nrb8y0211 :: true

2023-06-04 22:31:08 |


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


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

2023-06-04 22:31:08 | [Mutex] isItemNotified: node_incc110208:subscribe_node:success :: true

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

2023-06-04 22:31:08 | command: <data><node>node_incc110208</node><expire-at>2023-06-05T05:31:13Z</expire-at><entry><content>content_kyda5m0212</content></entry></data>

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

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

2023-06-04 22:31:08 | entity: <data><node>node_incc110208</node><expire-at>2023-06-05T05:31:13Z</expire-at><entry><content>content_kyda5m0212</content></entry></data>

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

2023-06-04 22:31:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ba72bd9f-6e59-408e-a94d-c90af387599d</value></item-id></result>

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

2023-06-04 22:31:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-06-04 22:31:16 | [Mutex] waiting for: [user_regularmyk9rz0207@test-domain.com:message:received:content_kyda5m0212]

2023-06-04 22:31:16 | [Mutex] waiting for: [user_regularmyk9rz0207@test-domain.com:message:received:content_kyda5m0212]

2023-06-04 22:31:16 | [Mutex] waiting for: [user_regularmyk9rz0207@test-domain.com:message:received:content_kyda5m0212]

2023-06-04 22:31:31 | [Mutex] timeout. Not received [user_regularmyk9rz0207@test-domain.com:message:received:content_kyda5m0212]

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

2023-06-04 22:31:31 | [Mutex] isItemNotified: user_regularmyk9rz0207@test-domain.com:message:received:content_kyda5m0212 :: false

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