Generated by TestNG with ReportNG at 21:47 PST on Sunday 13 November 2022
root@f9c07ffec79b / Java 17.0.2 (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 : 45.010s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.677s
2022-11-13 22:19:08 |

2022-11-13 22:19:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-11-13 22:19:08 | ------------------------------------

2022-11-13 22:19:08 | [Mutex] isItemNotified: node_ra39030204:exists :: false

2022-11-13 22:19:08 | [Mutex] waiting for: [node_ra39030204:create_node]

2022-11-13 22:19:08 | [Mutex] received everything.

2022-11-13 22:19:08 | [Mutex] isItemNotified: node_ra39030204:create_node:success :: true

2022-11-13 22:19:08 | [Mutex] waiting for: [node_ra39030204:subscribe_node]

2022-11-13 22:19:08 | [Mutex] received everything.

2022-11-13 22:19:08 | [Mutex] isItemNotified: node_ra39030204:subscribe_node:success :: true

2022-11-13 22:19:08 |


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


2022-11-13 22:19:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-13 22:19:08 | command: <data><node>node_ra39030204</node><entry><content>content_qqizas0205</content></entry></data>

2022-11-13 22:19:08 | target: http://localhost:8088

2022-11-13 22:19:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-11-13 22:19:08 | entity: <data><node>node_ra39030204</node><entry><content>content_qqizas0205</content></entry></data>

2022-11-13 22:19:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 06:19:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-13 22:19:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ad36da5d-1f45-4b47-a637-fadee9887636</value></item-id></result>

2022-11-13 22:19:09 | contains: true

2022-11-13 22:19:09 | [Mutex] received everything.

2022-11-13 22:19:09 | [Mutex] isItemNotified: user_regular7gj2rq0203@test-domain.com:message:received:content_qqizas0205 :: true

2022-11-13 22:19:09 |


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


2022-11-13 22:19:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-13 22:19:09 | command: <data><node>node_ra39030204</node><expire-at>2022-11-14T06:19:04Z</expire-at><entry><content>content_vcb5eg0206</content></entry></data>

2022-11-13 22:19:09 | target: http://localhost:8088

2022-11-13 22:19:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-13 22:19:09 | entity: <data><node>node_ra39030204</node><expire-at>2022-11-14T06:19:04Z</expire-at><entry><content>content_vcb5eg0206</content></entry></data>

2022-11-13 22:19:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 06:19:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-13 22:19:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fd7ea406-38f1-4243-bd9c-f3294a212daf</value></item-id></result>

2022-11-13 22:19:09 | contains: true

2022-11-13 22:19:09 | [Mutex] waiting for: [user_regular7gj2rq0203@test-domain.com:message:received:content_vcb5eg0206]

2022-11-13 22:19:24 | [Mutex] timeout. Not received [user_regular7gj2rq0203@test-domain.com:message:received:content_vcb5eg0206]

2022-11-13 22:19:24 | [Mutex] isItemNotified: user_regular7gj2rq0203@test-domain.com:message:received:content_vcb5eg0206 :: false

2022-11-13 22:19:24 |


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


2022-11-13 22:19:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-13 22:19:24 | command: <data><node>node_ra39030204</node><entry><content>content_1fcql0207</content></entry></data>

2022-11-13 22:19:24 | target: http://localhost:8088

2022-11-13 22:19:24 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-11-13 22:19:24 | entity: <data><node>node_ra39030204</node><entry><content>content_1fcql0207</content></entry></data>

2022-11-13 22:19:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 06:19:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-13 22:19:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>21d73922-f594-49db-a676-078ed9c73f98</value></item-id></result>

2022-11-13 22:19:24 | contains: true

2022-11-13 22:19:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-13 22:19:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-11-13 22:19:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-13 22:19:29 | [Mutex] waiting for: [user_regular7gj2rq0203@test-domain.com:message:received:content_1fcql0207]

2022-11-13 22:19:29 | [Mutex] received everything.

2022-11-13 22:19:29 | [Mutex] isItemNotified: user_regular7gj2rq0203@test-domain.com:message:received:content_1fcql0207 :: true

2022-11-13 22:19:29 |


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


2022-11-13 22:19:29 | [Mutex] received everything.

2022-11-13 22:19:29 | [Mutex] isItemNotified: node_ra39030204:subscribe_node:success :: true

2022-11-13 22:19:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-11-13 22:19:29 | command: <data><node>node_ra39030204</node><expire-at>2022-11-14T06:19:34Z</expire-at><entry><content>content_42ve0e0208</content></entry></data>

2022-11-13 22:19:29 | target: http://localhost:8088

2022-11-13 22:19:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-11-13 22:19:29 | entity: <data><node>node_ra39030204</node><expire-at>2022-11-14T06:19:34Z</expire-at><entry><content>content_42ve0e0208</content></entry></data>

2022-11-13 22:19:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Nov 2022 06:19:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-11-13 22:19:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>51c6a919-63af-4cdf-adfe-54d64bb15e76</value></item-id></result>

2022-11-13 22:19:29 | contains: true

2022-11-13 22:19:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-11-13 22:19:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-11-13 22:19:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-11-13 22:19:37 | [Mutex] waiting for: [user_regular7gj2rq0203@test-domain.com:message:received:content_42ve0e0208]

2022-11-13 22:19:37 | [Mutex] waiting for: [user_regular7gj2rq0203@test-domain.com:message:received:content_42ve0e0208]

2022-11-13 22:19:52 | [Mutex] timeout. Not received [user_regular7gj2rq0203@test-domain.com:message:received:content_42ve0e0208]

2022-11-13 22:19:52 | [Mutex] received everything.

2022-11-13 22:19:52 | [Mutex] isItemNotified: user_regular7gj2rq0203@test-domain.com:message:received:content_42ve0e0208 :: false

2022-11-13 22:19:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_42ve0e0208 :: true