Generated by TestNG with ReportNG at 22:23 PDT on Thursday 26 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.661s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.548s
2022-05-26 22:38:38 |

2022-05-26 22:38:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-26 22:38:38 | ------------------------------------

2022-05-26 22:38:38 | [Mutex] isItemNotified: node_yu79380204:exists :: false

2022-05-26 22:38:38 | [Mutex] waiting for: [node_yu79380204:create_node]

2022-05-26 22:38:38 | [Mutex] received everything.

2022-05-26 22:38:38 | [Mutex] isItemNotified: node_yu79380204:create_node:success :: true

2022-05-26 22:38:38 | [Mutex] waiting for: [node_yu79380204:subscribe_node]

2022-05-26 22:38:38 | [Mutex] waiting for: [node_yu79380204:subscribe_node]

2022-05-26 22:38:38 | [Mutex] received everything.

2022-05-26 22:38:38 | [Mutex] isItemNotified: node_yu79380204:subscribe_node:success :: true

2022-05-26 22:38:38 |


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


2022-05-26 22:38:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-26 22:38:38 | command: <data><node>node_yu79380204</node><entry><content>content_b9l2bv0205</content></entry></data>

2022-05-26 22:38:38 | target: http://localhost:8088

2022-05-26 22:38:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-26 22:38:38 | entity: <data><node>node_yu79380204</node><entry><content>content_b9l2bv0205</content></entry></data>

2022-05-26 22:38:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:38:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-26 22:38:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f4c44d81-37b1-4e53-b99f-644381b52bbb</value></item-id></result>

2022-05-26 22:38:38 | contains: true

2022-05-26 22:38:38 | [Mutex] waiting for: [user_regular4ekjqm0203@test-domain.com:message:received:content_b9l2bv0205]

2022-05-26 22:38:38 | [Mutex] received everything.

2022-05-26 22:38:38 | [Mutex] isItemNotified: user_regular4ekjqm0203@test-domain.com:message:received:content_b9l2bv0205 :: true

2022-05-26 22:38:38 |


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


2022-05-26 22:38:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-26 22:38:38 | command: <data><node>node_yu79380204</node><expire-at>2022-05-27T05:38:33Z</expire-at><entry><content>content_6zmkm80206</content></entry></data>

2022-05-26 22:38:38 | target: http://localhost:8088

2022-05-26 22:38:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-26 22:38:38 | entity: <data><node>node_yu79380204</node><expire-at>2022-05-27T05:38:33Z</expire-at><entry><content>content_6zmkm80206</content></entry></data>

2022-05-26 22:38:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:38:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-26 22:38:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1e829ad8-cf18-4210-a013-a54ab6118601</value></item-id></result>

2022-05-26 22:38:38 | contains: true

2022-05-26 22:38:38 | [Mutex] waiting for: [user_regular4ekjqm0203@test-domain.com:message:received:content_6zmkm80206]

2022-05-26 22:38:53 | [Mutex] timeout. Not received [user_regular4ekjqm0203@test-domain.com:message:received:content_6zmkm80206]

2022-05-26 22:38:53 | [Mutex] isItemNotified: user_regular4ekjqm0203@test-domain.com:message:received:content_6zmkm80206 :: false

2022-05-26 22:38:53 |


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


2022-05-26 22:38:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-26 22:38:53 | command: <data><node>node_yu79380204</node><entry><content>content_mp2t3s0207</content></entry></data>

2022-05-26 22:38:53 | target: http://localhost:8088

2022-05-26 22:38:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-26 22:38:53 | entity: <data><node>node_yu79380204</node><entry><content>content_mp2t3s0207</content></entry></data>

2022-05-26 22:38:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:38:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-26 22:38:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cef9df55-d266-4e7b-820f-4d9114fb6e61</value></item-id></result>

2022-05-26 22:38:53 | contains: true

2022-05-26 22:38:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-26 22:38:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-26 22:38:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-26 22:38:59 | [Mutex] waiting for: [user_regular4ekjqm0203@test-domain.com:message:received:content_mp2t3s0207]

2022-05-26 22:38:59 | [Mutex] waiting for: [user_regular4ekjqm0203@test-domain.com:message:received:content_mp2t3s0207]

2022-05-26 22:38:59 | [Mutex] received everything.

2022-05-26 22:38:59 | [Mutex] isItemNotified: user_regular4ekjqm0203@test-domain.com:message:received:content_mp2t3s0207 :: true

2022-05-26 22:38:59 |


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


2022-05-26 22:38:59 | [Mutex] received everything.

2022-05-26 22:38:59 | [Mutex] isItemNotified: node_yu79380204:subscribe_node:success :: true

2022-05-26 22:38:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-26 22:38:59 | command: <data><node>node_yu79380204</node><expire-at>2022-05-27T05:39:04Z</expire-at><entry><content>content_r93e920208</content></entry></data>

2022-05-26 22:38:59 | target: http://localhost:8088

2022-05-26 22:38:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-26 22:38:59 | entity: <data><node>node_yu79380204</node><expire-at>2022-05-27T05:39:04Z</expire-at><entry><content>content_r93e920208</content></entry></data>

2022-05-26 22:38:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:38:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-26 22:38:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e894ed0c-adc1-4021-b0e6-33cb67a3fac5</value></item-id></result>

2022-05-26 22:38:59 | contains: true

2022-05-26 22:39:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-26 22:39:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-26 22:39:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-26 22:39:07 | [Mutex] waiting for: [user_regular4ekjqm0203@test-domain.com:message:received:content_r93e920208]

2022-05-26 22:39:22 | [Mutex] timeout. Not received [user_regular4ekjqm0203@test-domain.com:message:received:content_r93e920208]

2022-05-26 22:39:22 | [Mutex] received everything.

2022-05-26 22:39:22 | [Mutex] isItemNotified: user_regular4ekjqm0203@test-domain.com:message:received:content_r93e920208 :: false

2022-05-26 22:39:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r93e920208 :: true