Generated by TestNG with ReportNG at 22:22 PDT on Monday 02 May 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.635s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.534s
2022-05-02 22:37:49 |

2022-05-02 22:37:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-02 22:37:49 | ------------------------------------

2022-05-02 22:37:49 | [Mutex] isItemNotified: node_m8i7yz0204:exists :: false

2022-05-02 22:37:49 | [Mutex] waiting for: [node_m8i7yz0204:create_node]

2022-05-02 22:37:49 | [Mutex] received everything.

2022-05-02 22:37:49 | [Mutex] isItemNotified: node_m8i7yz0204:create_node:success :: true

2022-05-02 22:37:49 | [Mutex] waiting for: [node_m8i7yz0204:subscribe_node]

2022-05-02 22:37:49 | [Mutex] received everything.

2022-05-02 22:37:49 | [Mutex] isItemNotified: node_m8i7yz0204:subscribe_node:success :: true

2022-05-02 22:37:49 |


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


2022-05-02 22:37:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-02 22:37:49 | command: <data><node>node_m8i7yz0204</node><entry><content>content_9aln1v0205</content></entry></data>

2022-05-02 22:37:49 | target: http://localhost:8088

2022-05-02 22:37:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-02 22:37:49 | entity: <data><node>node_m8i7yz0204</node><entry><content>content_9aln1v0205</content></entry></data>

2022-05-02 22:37:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 05:37:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-02 22:37:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b7ad124a-61c4-4664-a0ab-27e4e64a42ee</value></item-id></result>

2022-05-02 22:37:49 | contains: true

2022-05-02 22:37:49 | [Mutex] received everything.

2022-05-02 22:37:49 | [Mutex] isItemNotified: user_regularccq2pa0203@test-domain.com:message:received:content_9aln1v0205 :: true

2022-05-02 22:37:49 |


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


2022-05-02 22:37:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-02 22:37:49 | command: <data><node>node_m8i7yz0204</node><expire-at>2022-05-03T05:37:44Z</expire-at><entry><content>content_jajv420206</content></entry></data>

2022-05-02 22:37:49 | target: http://localhost:8088

2022-05-02 22:37:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-02 22:37:49 | entity: <data><node>node_m8i7yz0204</node><expire-at>2022-05-03T05:37:44Z</expire-at><entry><content>content_jajv420206</content></entry></data>

2022-05-02 22:37:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 05:37:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-02 22:37:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fb7f18db-dac6-42f0-8839-4dbc1339952f</value></item-id></result>

2022-05-02 22:37:49 | contains: true

2022-05-02 22:37:49 | [Mutex] waiting for: [user_regularccq2pa0203@test-domain.com:message:received:content_jajv420206]

2022-05-02 22:38:04 | [Mutex] timeout. Not received [user_regularccq2pa0203@test-domain.com:message:received:content_jajv420206]

2022-05-02 22:38:04 | [Mutex] isItemNotified: user_regularccq2pa0203@test-domain.com:message:received:content_jajv420206 :: false

2022-05-02 22:38:04 |


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


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

2022-05-02 22:38:04 | command: <data><node>node_m8i7yz0204</node><entry><content>content_kljvdg0207</content></entry></data>

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

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

2022-05-02 22:38:04 | entity: <data><node>node_m8i7yz0204</node><entry><content>content_kljvdg0207</content></entry></data>

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

2022-05-02 22:38:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2e508cef-3675-44ac-adcb-147bdfae81cd</value></item-id></result>

2022-05-02 22:38:04 | contains: true

2022-05-02 22:38:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-02 22:38:09 | [Mutex] waiting for: [user_regularccq2pa0203@test-domain.com:message:received:content_kljvdg0207]

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

2022-05-02 22:38:09 | [Mutex] isItemNotified: user_regularccq2pa0203@test-domain.com:message:received:content_kljvdg0207 :: true

2022-05-02 22:38:09 |


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


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

2022-05-02 22:38:09 | [Mutex] isItemNotified: node_m8i7yz0204:subscribe_node:success :: true

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

2022-05-02 22:38:09 | command: <data><node>node_m8i7yz0204</node><expire-at>2022-05-03T05:38:14Z</expire-at><entry><content>content_c386570208</content></entry></data>

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

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

2022-05-02 22:38:09 | entity: <data><node>node_m8i7yz0204</node><expire-at>2022-05-03T05:38:14Z</expire-at><entry><content>content_c386570208</content></entry></data>

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

2022-05-02 22:38:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bd0b151c-f9bf-45a7-ad51-da2b91267fb2</value></item-id></result>

2022-05-02 22:38:09 | contains: true

2022-05-02 22:38:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-05-02 22:38:17 | [Mutex] waiting for: [user_regularccq2pa0203@test-domain.com:message:received:content_c386570208]

2022-05-02 22:38:32 | [Mutex] timeout. Not received [user_regularccq2pa0203@test-domain.com:message:received:content_c386570208]

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

2022-05-02 22:38:32 | [Mutex] isItemNotified: user_regularccq2pa0203@test-domain.com:message:received:content_c386570208 :: false

2022-05-02 22:38:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_c386570208 :: true