Generated by TestNG with ReportNG at 22:48 PDT on Tuesday 02 August 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 : 44.873s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.653s
2022-08-02 23:02:39 |

2022-08-02 23:02:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-02 23:02:39 | ------------------------------------

2022-08-02 23:02:39 | [Mutex] isItemNotified: node_iwwotw0204:exists :: false

2022-08-02 23:02:39 | [Mutex] waiting for: [node_iwwotw0204:create_node]

2022-08-02 23:02:39 | [Mutex] received everything.

2022-08-02 23:02:39 | [Mutex] isItemNotified: node_iwwotw0204:create_node:success :: true

2022-08-02 23:02:39 | [Mutex] waiting for: [node_iwwotw0204:subscribe_node]

2022-08-02 23:02:39 | [Mutex] waiting for: [node_iwwotw0204:subscribe_node]

2022-08-02 23:02:39 | [Mutex] received everything.

2022-08-02 23:02:39 | [Mutex] isItemNotified: node_iwwotw0204:subscribe_node:success :: true

2022-08-02 23:02:39 |


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


2022-08-02 23:02:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-02 23:02:39 | command: <data><node>node_iwwotw0204</node><entry><content>content_2hvgsk0205</content></entry></data>

2022-08-02 23:02:39 | target: http://localhost:8088

2022-08-02 23:02:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-02 23:02:39 | entity: <data><node>node_iwwotw0204</node><entry><content>content_2hvgsk0205</content></entry></data>

2022-08-02 23:02:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 06:02:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-02 23:02:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7855a1ae-68d8-4cb6-a7c8-f9304f06e573</value></item-id></result>

2022-08-02 23:02:39 | contains: true

2022-08-02 23:02:39 | [Mutex] waiting for: [user_regularbtf0je0203@test-domain.com:message:received:content_2hvgsk0205]

2022-08-02 23:02:39 | [Mutex] received everything.

2022-08-02 23:02:39 | [Mutex] isItemNotified: user_regularbtf0je0203@test-domain.com:message:received:content_2hvgsk0205 :: true

2022-08-02 23:02:39 |


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


2022-08-02 23:02:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-02 23:02:39 | command: <data><node>node_iwwotw0204</node><expire-at>2022-08-03T06:02:34Z</expire-at><entry><content>content_k5ci7x0206</content></entry></data>

2022-08-02 23:02:39 | target: http://localhost:8088

2022-08-02 23:02:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-02 23:02:39 | entity: <data><node>node_iwwotw0204</node><expire-at>2022-08-03T06:02:34Z</expire-at><entry><content>content_k5ci7x0206</content></entry></data>

2022-08-02 23:02:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 06:02:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-02 23:02:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>338741c1-31e4-4e5a-bbe4-b82042b5cccf</value></item-id></result>

2022-08-02 23:02:39 | contains: true

2022-08-02 23:02:39 | [Mutex] waiting for: [user_regularbtf0je0203@test-domain.com:message:received:content_k5ci7x0206]

2022-08-02 23:02:54 | [Mutex] timeout. Not received [user_regularbtf0je0203@test-domain.com:message:received:content_k5ci7x0206]

2022-08-02 23:02:54 | [Mutex] isItemNotified: user_regularbtf0je0203@test-domain.com:message:received:content_k5ci7x0206 :: false

2022-08-02 23:02:54 |


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


2022-08-02 23:02:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-02 23:02:54 | command: <data><node>node_iwwotw0204</node><entry><content>content_yi15me0207</content></entry></data>

2022-08-02 23:02:54 | target: http://localhost:8088

2022-08-02 23:02:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-02 23:02:54 | entity: <data><node>node_iwwotw0204</node><entry><content>content_yi15me0207</content></entry></data>

2022-08-02 23:02:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 06:02:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-02 23:02:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>35b78b16-6753-48ac-b022-acb96392fcea</value></item-id></result>

2022-08-02 23:02:54 | contains: true

2022-08-02 23:02:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-02 23:02:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-02 23:02:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-02 23:02:59 | [Mutex] waiting for: [user_regularbtf0je0203@test-domain.com:message:received:content_yi15me0207]

2022-08-02 23:02:59 | [Mutex] waiting for: [user_regularbtf0je0203@test-domain.com:message:received:content_yi15me0207]

2022-08-02 23:02:59 | [Mutex] received everything.

2022-08-02 23:02:59 | [Mutex] isItemNotified: user_regularbtf0je0203@test-domain.com:message:received:content_yi15me0207 :: true

2022-08-02 23:02:59 |


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


2022-08-02 23:02:59 | [Mutex] received everything.

2022-08-02 23:02:59 | [Mutex] isItemNotified: node_iwwotw0204:subscribe_node:success :: true

2022-08-02 23:02:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-02 23:02:59 | command: <data><node>node_iwwotw0204</node><expire-at>2022-08-03T06:03:04Z</expire-at><entry><content>content_lk9t570208</content></entry></data>

2022-08-02 23:02:59 | target: http://localhost:8088

2022-08-02 23:02:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-02 23:02:59 | entity: <data><node>node_iwwotw0204</node><expire-at>2022-08-03T06:03:04Z</expire-at><entry><content>content_lk9t570208</content></entry></data>

2022-08-02 23:02:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 06:02:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-02 23:02:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7cee6eac-d27c-46cb-8965-91803f151483</value></item-id></result>

2022-08-02 23:02:59 | contains: true

2022-08-02 23:03:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-02 23:03:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-02 23:03:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-02 23:03:08 | [Mutex] waiting for: [user_regularbtf0je0203@test-domain.com:message:received:content_lk9t570208]

2022-08-02 23:03:08 | [Mutex] waiting for: [user_regularbtf0je0203@test-domain.com:message:received:content_lk9t570208]

2022-08-02 23:03:23 | [Mutex] timeout. Not received [user_regularbtf0je0203@test-domain.com:message:received:content_lk9t570208]

2022-08-02 23:03:23 | [Mutex] received everything.

2022-08-02 23:03:23 | [Mutex] isItemNotified: user_regularbtf0je0203@test-domain.com:message:received:content_lk9t570208 :: false

2022-08-02 23:03:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lk9t570208 :: true