Generated by TestNG with ReportNG at 22:45 PDT on Thursday 22 June 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.620s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.541s
2023-06-22 23:00:31 |

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

2023-06-22 23:00:31 | ------------------------------------

2023-06-22 23:00:31 | [Mutex] isItemNotified: node_dqcjzc0208:exists :: false

2023-06-22 23:00:31 | [Mutex] waiting for: [node_dqcjzc0208:create_node]

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

2023-06-22 23:00:31 | [Mutex] isItemNotified: node_dqcjzc0208:create_node:success :: true

2023-06-22 23:00:31 | [Mutex] waiting for: [node_dqcjzc0208:subscribe_node]

2023-06-22 23:00:31 | [Mutex] waiting for: [node_dqcjzc0208:subscribe_node]

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

2023-06-22 23:00:31 | [Mutex] isItemNotified: node_dqcjzc0208:subscribe_node:success :: true

2023-06-22 23:00:31 |


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


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

2023-06-22 23:00:31 | command: <data><node>node_dqcjzc0208</node><entry><content>content_o8hurn0209</content></entry></data>

2023-06-22 23:00:31 | target: http://localhost:8088

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

2023-06-22 23:00:31 | entity: <data><node>node_dqcjzc0208</node><entry><content>content_o8hurn0209</content></entry></data>

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

2023-06-22 23:00:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ddf9bdf5-eba8-4c6a-a1c2-a1233c04562b</value></item-id></result>

2023-06-22 23:00:31 | contains: true

2023-06-22 23:00:31 | [Mutex] waiting for: [user_regularwgfhui0207@test-domain.com:message:received:content_o8hurn0209]

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

2023-06-22 23:00:31 | [Mutex] isItemNotified: user_regularwgfhui0207@test-domain.com:message:received:content_o8hurn0209 :: true

2023-06-22 23:00:31 |


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


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

2023-06-22 23:00:31 | command: <data><node>node_dqcjzc0208</node><expire-at>2023-06-23T06:00:26Z</expire-at><entry><content>content_fhmsk0210</content></entry></data>

2023-06-22 23:00:31 | target: http://localhost:8088

2023-06-22 23:00:31 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-06-22 23:00:31 | entity: <data><node>node_dqcjzc0208</node><expire-at>2023-06-23T06:00:26Z</expire-at><entry><content>content_fhmsk0210</content></entry></data>

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

2023-06-22 23:00:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c3868626-2968-4cd1-9911-953d8aa9a741</value></item-id></result>

2023-06-22 23:00:31 | contains: true

2023-06-22 23:00:31 | [Mutex] waiting for: [user_regularwgfhui0207@test-domain.com:message:received:content_fhmsk0210]

2023-06-22 23:00:46 | [Mutex] timeout. Not received [user_regularwgfhui0207@test-domain.com:message:received:content_fhmsk0210]

2023-06-22 23:00:46 | [Mutex] isItemNotified: user_regularwgfhui0207@test-domain.com:message:received:content_fhmsk0210 :: false

2023-06-22 23:00:46 |


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


2023-06-22 23:00:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-22 23:00:46 | command: <data><node>node_dqcjzc0208</node><entry><content>content_z1ze390211</content></entry></data>

2023-06-22 23:00:46 | target: http://localhost:8088

2023-06-22 23:00:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-06-22 23:00:46 | entity: <data><node>node_dqcjzc0208</node><entry><content>content_z1ze390211</content></entry></data>

2023-06-22 23:00:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 06:00:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 23:00:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>56169bb9-9066-4125-a513-4cfbe1100c98</value></item-id></result>

2023-06-22 23:00:46 | contains: true

2023-06-22 23:00:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-06-22 23:00:51 | [Mutex] received everything.

2023-06-22 23:00:51 | [Mutex] isItemNotified: user_regularwgfhui0207@test-domain.com:message:received:content_z1ze390211 :: true

2023-06-22 23:00:51 |


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


2023-06-22 23:00:51 | [Mutex] received everything.

2023-06-22 23:00:51 | [Mutex] isItemNotified: node_dqcjzc0208:subscribe_node:success :: true

2023-06-22 23:00:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-06-22 23:00:51 | command: <data><node>node_dqcjzc0208</node><expire-at>2023-06-23T06:00:56Z</expire-at><entry><content>content_m2j4am0212</content></entry></data>

2023-06-22 23:00:51 | target: http://localhost:8088

2023-06-22 23:00:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-06-22 23:00:51 | entity: <data><node>node_dqcjzc0208</node><expire-at>2023-06-23T06:00:56Z</expire-at><entry><content>content_m2j4am0212</content></entry></data>

2023-06-22 23:00:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Jun 2023 06:00:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-06-22 23:00:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c92cec19-53a7-45bf-b8c4-d43f95b4940f</value></item-id></result>

2023-06-22 23:00:51 | contains: true

2023-06-22 23:00:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-06-22 23:00:59 | [Mutex] waiting for: [user_regularwgfhui0207@test-domain.com:message:received:content_m2j4am0212]

2023-06-22 23:01:14 | [Mutex] timeout. Not received [user_regularwgfhui0207@test-domain.com:message:received:content_m2j4am0212]

2023-06-22 23:01:14 | [Mutex] received everything.

2023-06-22 23:01:14 | [Mutex] isItemNotified: user_regularwgfhui0207@test-domain.com:message:received:content_m2j4am0212 :: false

2023-06-22 23:01:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_m2j4am0212 :: true