Generated by TestNG with ReportNG at 22:46 PDT on Thursday 04 May 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.790s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.651s
2023-05-04 23:01:30 |

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

2023-05-04 23:01:30 | ------------------------------------

2023-05-04 23:01:30 | [Mutex] isItemNotified: node_k9inas0208:exists :: false

2023-05-04 23:01:30 | [Mutex] waiting for: [node_k9inas0208:create_node]

2023-05-04 23:01:30 | [Mutex] received everything.

2023-05-04 23:01:30 | [Mutex] isItemNotified: node_k9inas0208:create_node:success :: true

2023-05-04 23:01:30 | [Mutex] waiting for: [node_k9inas0208:subscribe_node]

2023-05-04 23:01:30 | [Mutex] waiting for: [node_k9inas0208:subscribe_node]

2023-05-04 23:01:30 | [Mutex] received everything.

2023-05-04 23:01:30 | [Mutex] isItemNotified: node_k9inas0208:subscribe_node:success :: true

2023-05-04 23:01:30 |


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


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

2023-05-04 23:01:30 | command: <data><node>node_k9inas0208</node><entry><content>content_4fcgqk0209</content></entry></data>

2023-05-04 23:01:30 | target: http://localhost:8088

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

2023-05-04 23:01:30 | entity: <data><node>node_k9inas0208</node><entry><content>content_4fcgqk0209</content></entry></data>

2023-05-04 23:01:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 06:01:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 23:01:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a0420bbf-5e5f-4b13-a19c-26fe31f8ed38</value></item-id></result>

2023-05-04 23:01:30 | contains: true

2023-05-04 23:01:30 | [Mutex] received everything.

2023-05-04 23:01:30 | [Mutex] isItemNotified: user_regularghoc840207@test-domain.com:message:received:content_4fcgqk0209 :: true

2023-05-04 23:01:30 |


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


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

2023-05-04 23:01:30 | command: <data><node>node_k9inas0208</node><expire-at>2023-05-05T06:01:25Z</expire-at><entry><content>content_fe348l0210</content></entry></data>

2023-05-04 23:01:30 | target: http://localhost:8088

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

2023-05-04 23:01:30 | entity: <data><node>node_k9inas0208</node><expire-at>2023-05-05T06:01:25Z</expire-at><entry><content>content_fe348l0210</content></entry></data>

2023-05-04 23:01:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 06:01:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 23:01:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>18eec410-3197-4cf5-a5f9-5186f2cee84d</value></item-id></result>

2023-05-04 23:01:30 | contains: true

2023-05-04 23:01:30 | [Mutex] waiting for: [user_regularghoc840207@test-domain.com:message:received:content_fe348l0210]

2023-05-04 23:01:45 | [Mutex] timeout. Not received [user_regularghoc840207@test-domain.com:message:received:content_fe348l0210]

2023-05-04 23:01:45 | [Mutex] isItemNotified: user_regularghoc840207@test-domain.com:message:received:content_fe348l0210 :: false

2023-05-04 23:01:45 |


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


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

2023-05-04 23:01:45 | command: <data><node>node_k9inas0208</node><entry><content>content_b2qokq0211</content></entry></data>

2023-05-04 23:01:45 | target: http://localhost:8088

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

2023-05-04 23:01:45 | entity: <data><node>node_k9inas0208</node><entry><content>content_b2qokq0211</content></entry></data>

2023-05-04 23:01:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 06:01:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 23:01:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8034f4a6-18a8-40b4-9d1c-fe31ec032c65</value></item-id></result>

2023-05-04 23:01:45 | contains: true

2023-05-04 23:01:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-05-04 23:01:50 | [Mutex] received everything.

2023-05-04 23:01:50 | [Mutex] isItemNotified: user_regularghoc840207@test-domain.com:message:received:content_b2qokq0211 :: true

2023-05-04 23:01:50 |


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


2023-05-04 23:01:50 | [Mutex] received everything.

2023-05-04 23:01:50 | [Mutex] isItemNotified: node_k9inas0208:subscribe_node:success :: true

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

2023-05-04 23:01:50 | command: <data><node>node_k9inas0208</node><expire-at>2023-05-05T06:01:55Z</expire-at><entry><content>content_om7ks50212</content></entry></data>

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

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

2023-05-04 23:01:50 | entity: <data><node>node_k9inas0208</node><expire-at>2023-05-05T06:01:55Z</expire-at><entry><content>content_om7ks50212</content></entry></data>

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

2023-05-04 23:01:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>89c9034b-00c6-4baa-94e7-464ad01151b2</value></item-id></result>

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

2023-05-04 23:01:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-05-04 23:01:59 | [Mutex] waiting for: [user_regularghoc840207@test-domain.com:message:received:content_om7ks50212]

2023-05-04 23:02:14 | [Mutex] timeout. Not received [user_regularghoc840207@test-domain.com:message:received:content_om7ks50212]

2023-05-04 23:02:14 | [Mutex] received everything.

2023-05-04 23:02:14 | [Mutex] isItemNotified: user_regularghoc840207@test-domain.com:message:received:content_om7ks50212 :: false

2023-05-04 23:02:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_om7ks50212 :: true