Generated by TestNG with ReportNG at 23:25 PDT on Wednesday 05 July 2023
root@1512af24e4a5 / 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.632s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.538s
2023-07-05 23:40:16 |

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

2023-07-05 23:40:16 | ------------------------------------

2023-07-05 23:40:16 | [Mutex] isItemNotified: node_tb4hvv0208:exists :: false

2023-07-05 23:40:16 | [Mutex] waiting for: [node_tb4hvv0208:create_node]

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

2023-07-05 23:40:16 | [Mutex] isItemNotified: node_tb4hvv0208:create_node:success :: true

2023-07-05 23:40:16 | [Mutex] waiting for: [node_tb4hvv0208:subscribe_node]

2023-07-05 23:40:16 | [Mutex] waiting for: [node_tb4hvv0208:subscribe_node]

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

2023-07-05 23:40:16 | [Mutex] isItemNotified: node_tb4hvv0208:subscribe_node:success :: true

2023-07-05 23:40:16 |


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


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

2023-07-05 23:40:16 | command: <data><node>node_tb4hvv0208</node><entry><content>content_jeasqv0209</content></entry></data>

2023-07-05 23:40:16 | target: http://localhost:8088

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

2023-07-05 23:40:16 | entity: <data><node>node_tb4hvv0208</node><entry><content>content_jeasqv0209</content></entry></data>

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

2023-07-05 23:40:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5f5df129-f159-4740-8234-206b9639ea2f</value></item-id></result>

2023-07-05 23:40:16 | contains: true

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

2023-07-05 23:40:16 | [Mutex] isItemNotified: user_regularmx5p4t0207@test-domain.com:message:received:content_jeasqv0209 :: true

2023-07-05 23:40:16 |


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


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

2023-07-05 23:40:16 | command: <data><node>node_tb4hvv0208</node><expire-at>2023-07-06T06:40:11Z</expire-at><entry><content>content_uq2m9v0210</content></entry></data>

2023-07-05 23:40:16 | target: http://localhost:8088

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

2023-07-05 23:40:16 | entity: <data><node>node_tb4hvv0208</node><expire-at>2023-07-06T06:40:11Z</expire-at><entry><content>content_uq2m9v0210</content></entry></data>

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

2023-07-05 23:40:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ee3e5fc-4cfc-45d8-a179-f934bb9aadc1</value></item-id></result>

2023-07-05 23:40:16 | contains: true

2023-07-05 23:40:16 | [Mutex] waiting for: [user_regularmx5p4t0207@test-domain.com:message:received:content_uq2m9v0210]

2023-07-05 23:40:31 | [Mutex] timeout. Not received [user_regularmx5p4t0207@test-domain.com:message:received:content_uq2m9v0210]

2023-07-05 23:40:31 | [Mutex] isItemNotified: user_regularmx5p4t0207@test-domain.com:message:received:content_uq2m9v0210 :: false

2023-07-05 23:40:31 |


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


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

2023-07-05 23:40:31 | command: <data><node>node_tb4hvv0208</node><entry><content>content_gi04o60211</content></entry></data>

2023-07-05 23:40:31 | target: http://localhost:8088

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

2023-07-05 23:40:31 | entity: <data><node>node_tb4hvv0208</node><entry><content>content_gi04o60211</content></entry></data>

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

2023-07-05 23:40:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9bffa180-77ba-4a13-a71c-607549c83788</value></item-id></result>

2023-07-05 23:40:31 | contains: true

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

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

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

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

2023-07-05 23:40:36 | [Mutex] isItemNotified: user_regularmx5p4t0207@test-domain.com:message:received:content_gi04o60211 :: true

2023-07-05 23:40:36 |


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


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

2023-07-05 23:40:36 | [Mutex] isItemNotified: node_tb4hvv0208:subscribe_node:success :: true

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

2023-07-05 23:40:36 | command: <data><node>node_tb4hvv0208</node><expire-at>2023-07-06T06:40:41Z</expire-at><entry><content>content_n2ck500212</content></entry></data>

2023-07-05 23:40:36 | target: http://localhost:8088

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

2023-07-05 23:40:36 | entity: <data><node>node_tb4hvv0208</node><expire-at>2023-07-06T06:40:41Z</expire-at><entry><content>content_n2ck500212</content></entry></data>

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

2023-07-05 23:40:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>90b3e7c8-80ce-4c9c-93eb-edb29c49413d</value></item-id></result>

2023-07-05 23:40:36 | contains: true

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

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

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

2023-07-05 23:40:44 | [Mutex] waiting for: [user_regularmx5p4t0207@test-domain.com:message:received:content_n2ck500212]

2023-07-05 23:40:59 | [Mutex] timeout. Not received [user_regularmx5p4t0207@test-domain.com:message:received:content_n2ck500212]

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

2023-07-05 23:40:59 | [Mutex] isItemNotified: user_regularmx5p4t0207@test-domain.com:message:received:content_n2ck500212 :: false

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