Generated by TestNG with ReportNG at 22:49 PDT on Wednesday 05 July 2023
root@cc7d7fbb25f7 / 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.958s

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

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

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

2023-07-05 23:04:16 | [Mutex] isItemNotified: node_r1lqww0208:exists :: false

2023-07-05 23:04:16 | [Mutex] waiting for: [node_r1lqww0208:create_node]

2023-07-05 23:04:16 | [Mutex] waiting for: [node_r1lqww0208:create_node]

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

2023-07-05 23:04:16 | [Mutex] isItemNotified: node_r1lqww0208:create_node:success :: true

2023-07-05 23:04:16 | [Mutex] waiting for: [node_r1lqww0208:subscribe_node]

2023-07-05 23:04:16 | [Mutex] waiting for: [node_r1lqww0208:subscribe_node]

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

2023-07-05 23:04:16 | [Mutex] isItemNotified: node_r1lqww0208:subscribe_node:success :: true

2023-07-05 23:04:16 |


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


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

2023-07-05 23:04:16 | command: <data><node>node_r1lqww0208</node><entry><content>content_wd4vgo0209</content></entry></data>

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

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

2023-07-05 23:04:16 | entity: <data><node>node_r1lqww0208</node><entry><content>content_wd4vgo0209</content></entry></data>

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

2023-07-05 23:04:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8f6ec1ec-1601-4ea4-a703-831d5f61a0b1</value></item-id></result>

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

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

2023-07-05 23:04:16 | [Mutex] isItemNotified: user_regulargrphs90207@test-domain.com:message:received:content_wd4vgo0209 :: true

2023-07-05 23:04:16 |


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


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

2023-07-05 23:04:16 | command: <data><node>node_r1lqww0208</node><expire-at>2023-07-06T06:04:11Z</expire-at><entry><content>content_lyicav0210</content></entry></data>

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

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

2023-07-05 23:04:16 | entity: <data><node>node_r1lqww0208</node><expire-at>2023-07-06T06:04:11Z</expire-at><entry><content>content_lyicav0210</content></entry></data>

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

2023-07-05 23:04:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c01d689b-309a-4d06-b028-0f883efdbc12</value></item-id></result>

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

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

2023-07-05 23:04:31 | [Mutex] timeout. Not received [user_regulargrphs90207@test-domain.com:message:received:content_lyicav0210]

2023-07-05 23:04:31 | [Mutex] isItemNotified: user_regulargrphs90207@test-domain.com:message:received:content_lyicav0210 :: false

2023-07-05 23:04:31 |


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


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

2023-07-05 23:04:31 | command: <data><node>node_r1lqww0208</node><entry><content>content_rcx8o20211</content></entry></data>

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

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

2023-07-05 23:04:31 | entity: <data><node>node_r1lqww0208</node><entry><content>content_rcx8o20211</content></entry></data>

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

2023-07-05 23:04:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8e88745e-d882-4d6b-a26f-00387d751116</value></item-id></result>

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

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

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

2023-07-05 23:04: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:04:36 | [Mutex] waiting for: [user_regulargrphs90207@test-domain.com:message:received:content_rcx8o20211]

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

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

2023-07-05 23:04:36 | [Mutex] isItemNotified: user_regulargrphs90207@test-domain.com:message:received:content_rcx8o20211 :: true

2023-07-05 23:04:36 |


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


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

2023-07-05 23:04:36 | [Mutex] isItemNotified: node_r1lqww0208:subscribe_node:success :: true

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

2023-07-05 23:04:36 | command: <data><node>node_r1lqww0208</node><expire-at>2023-07-06T06:04:41Z</expire-at><entry><content>content_h1rrh00212</content></entry></data>

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

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

2023-07-05 23:04:36 | entity: <data><node>node_r1lqww0208</node><expire-at>2023-07-06T06:04:41Z</expire-at><entry><content>content_h1rrh00212</content></entry></data>

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

2023-07-05 23:04:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>480cfe6c-9c54-44ab-8b2d-235aff1d0f91</value></item-id></result>

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

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

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

2023-07-05 23:04: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:04:45 | [Mutex] waiting for: [user_regulargrphs90207@test-domain.com:message:received:content_h1rrh00212]

2023-07-05 23:05:00 | [Mutex] timeout. Not received [user_regulargrphs90207@test-domain.com:message:received:content_h1rrh00212]

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

2023-07-05 23:05:00 | [Mutex] isItemNotified: user_regulargrphs90207@test-domain.com:message:received:content_h1rrh00212 :: false

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