Generated by TestNG with ReportNG at 22:46 PDT on Thursday 02 June 2022
root@1bc69cf4cb94 / 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.582s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.667s
2022-06-02 23:01:12 |

2022-06-02 23:01:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-02 23:01:12 | ------------------------------------

2022-06-02 23:01:12 | [Mutex] isItemNotified: node_n3rgce0204:exists :: false

2022-06-02 23:01:12 | [Mutex] waiting for: [node_n3rgce0204:create_node]

2022-06-02 23:01:12 | [Mutex] received everything.

2022-06-02 23:01:12 | [Mutex] isItemNotified: node_n3rgce0204:create_node:success :: true

2022-06-02 23:01:12 | [Mutex] waiting for: [node_n3rgce0204:subscribe_node]

2022-06-02 23:01:12 | [Mutex] waiting for: [node_n3rgce0204:subscribe_node]

2022-06-02 23:01:12 | [Mutex] received everything.

2022-06-02 23:01:12 | [Mutex] isItemNotified: node_n3rgce0204:subscribe_node:success :: true

2022-06-02 23:01:12 |


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


2022-06-02 23:01:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-02 23:01:12 | command: <data><node>node_n3rgce0204</node><entry><content>content_qjycty0205</content></entry></data>

2022-06-02 23:01:12 | target: http://localhost:8088

2022-06-02 23:01:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-02 23:01:12 | entity: <data><node>node_n3rgce0204</node><entry><content>content_qjycty0205</content></entry></data>

2022-06-02 23:01:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jun 2022 06:01:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-02 23:01:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c01eff9-dd1b-428a-9360-249d3ae85ce4</value></item-id></result>

2022-06-02 23:01:12 | contains: true

2022-06-02 23:01:12 | [Mutex] waiting for: [user_regularmq4erq0203@test-domain.com:message:received:content_qjycty0205]

2022-06-02 23:01:12 | [Mutex] received everything.

2022-06-02 23:01:12 | [Mutex] isItemNotified: user_regularmq4erq0203@test-domain.com:message:received:content_qjycty0205 :: true

2022-06-02 23:01:12 |


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


2022-06-02 23:01:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-02 23:01:12 | command: <data><node>node_n3rgce0204</node><expire-at>2022-06-03T06:01:07Z</expire-at><entry><content>content_nym50o0206</content></entry></data>

2022-06-02 23:01:12 | target: http://localhost:8088

2022-06-02 23:01:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-02 23:01:12 | entity: <data><node>node_n3rgce0204</node><expire-at>2022-06-03T06:01:07Z</expire-at><entry><content>content_nym50o0206</content></entry></data>

2022-06-02 23:01:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jun 2022 06:01:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-02 23:01:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0642545a-dcae-487a-80c0-948e3b7f3d6a</value></item-id></result>

2022-06-02 23:01:12 | contains: true

2022-06-02 23:01:12 | [Mutex] waiting for: [user_regularmq4erq0203@test-domain.com:message:received:content_nym50o0206]

2022-06-02 23:01:27 | [Mutex] timeout. Not received [user_regularmq4erq0203@test-domain.com:message:received:content_nym50o0206]

2022-06-02 23:01:27 | [Mutex] isItemNotified: user_regularmq4erq0203@test-domain.com:message:received:content_nym50o0206 :: false

2022-06-02 23:01:27 |


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


2022-06-02 23:01:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-02 23:01:27 | command: <data><node>node_n3rgce0204</node><entry><content>content_nfyone0207</content></entry></data>

2022-06-02 23:01:27 | target: http://localhost:8088

2022-06-02 23:01:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-02 23:01:27 | entity: <data><node>node_n3rgce0204</node><entry><content>content_nfyone0207</content></entry></data>

2022-06-02 23:01:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jun 2022 06:01:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-02 23:01:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>92728372-71f6-48ff-b84f-3a6fa18d6974</value></item-id></result>

2022-06-02 23:01:27 | contains: true

2022-06-02 23:01:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-02 23:01:32 | [Mutex] waiting for: [user_regularmq4erq0203@test-domain.com:message:received:content_nfyone0207]

2022-06-02 23:01:32 | [Mutex] waiting for: [user_regularmq4erq0203@test-domain.com:message:received:content_nfyone0207]

2022-06-02 23:01:32 | [Mutex] received everything.

2022-06-02 23:01:32 | [Mutex] isItemNotified: user_regularmq4erq0203@test-domain.com:message:received:content_nfyone0207 :: true

2022-06-02 23:01:32 |


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


2022-06-02 23:01:32 | [Mutex] received everything.

2022-06-02 23:01:32 | [Mutex] isItemNotified: node_n3rgce0204:subscribe_node:success :: true

2022-06-02 23:01:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-02 23:01:32 | command: <data><node>node_n3rgce0204</node><expire-at>2022-06-03T06:01:37Z</expire-at><entry><content>content_val9770208</content></entry></data>

2022-06-02 23:01:32 | target: http://localhost:8088

2022-06-02 23:01:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-02 23:01:32 | entity: <data><node>node_n3rgce0204</node><expire-at>2022-06-03T06:01:37Z</expire-at><entry><content>content_val9770208</content></entry></data>

2022-06-02 23:01:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jun 2022 06:01:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-02 23:01:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>045d0ee4-9c83-4cda-823d-ae79cd1037fd</value></item-id></result>

2022-06-02 23:01:32 | contains: true

2022-06-02 23:01:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-06-02 23:01:41 | [Mutex] waiting for: [user_regularmq4erq0203@test-domain.com:message:received:content_val9770208]

2022-06-02 23:01:56 | [Mutex] timeout. Not received [user_regularmq4erq0203@test-domain.com:message:received:content_val9770208]

2022-06-02 23:01:56 | [Mutex] received everything.

2022-06-02 23:01:56 | [Mutex] isItemNotified: user_regularmq4erq0203@test-domain.com:message:received:content_val9770208 :: false

2022-06-02 23:01:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_val9770208 :: true