Generated by TestNG with ReportNG at 22:22 PDT on Monday 02 May 2022
root@61c39d2ed70d / 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.642s

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

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

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

2022-05-02 22:37:41 | [Mutex] isItemNotified: node_q5eorb0204:exists :: false

2022-05-02 22:37:41 | [Mutex] waiting for: [node_q5eorb0204:create_node]

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

2022-05-02 22:37:41 | [Mutex] isItemNotified: node_q5eorb0204:create_node:success :: true

2022-05-02 22:37:41 | [Mutex] waiting for: [node_q5eorb0204:subscribe_node]

2022-05-02 22:37:41 | [Mutex] waiting for: [node_q5eorb0204:subscribe_node]

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

2022-05-02 22:37:41 | [Mutex] isItemNotified: node_q5eorb0204:subscribe_node:success :: true

2022-05-02 22:37:41 |


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


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

2022-05-02 22:37:41 | command: <data><node>node_q5eorb0204</node><entry><content>content_965qdp0205</content></entry></data>

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

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

2022-05-02 22:37:41 | entity: <data><node>node_q5eorb0204</node><entry><content>content_965qdp0205</content></entry></data>

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

2022-05-02 22:37:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>88d9efc5-02d0-4868-becd-a9d1d81aaa4c</value></item-id></result>

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

2022-05-02 22:37:41 | [Mutex] waiting for: [user_regular1tbnv80203@test-domain.com:message:received:content_965qdp0205]

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

2022-05-02 22:37:41 | [Mutex] isItemNotified: user_regular1tbnv80203@test-domain.com:message:received:content_965qdp0205 :: true

2022-05-02 22:37:41 |


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


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

2022-05-02 22:37:41 | command: <data><node>node_q5eorb0204</node><expire-at>2022-05-03T05:37:36Z</expire-at><entry><content>content_rrkv7x0206</content></entry></data>

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

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

2022-05-02 22:37:41 | entity: <data><node>node_q5eorb0204</node><expire-at>2022-05-03T05:37:36Z</expire-at><entry><content>content_rrkv7x0206</content></entry></data>

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

2022-05-02 22:37:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a85193f-9664-4a03-9988-d6aefd7c3908</value></item-id></result>

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

2022-05-02 22:37:41 | [Mutex] waiting for: [user_regular1tbnv80203@test-domain.com:message:received:content_rrkv7x0206]

2022-05-02 22:37:56 | [Mutex] timeout. Not received [user_regular1tbnv80203@test-domain.com:message:received:content_rrkv7x0206]

2022-05-02 22:37:56 | [Mutex] isItemNotified: user_regular1tbnv80203@test-domain.com:message:received:content_rrkv7x0206 :: false

2022-05-02 22:37:56 |


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


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

2022-05-02 22:37:56 | command: <data><node>node_q5eorb0204</node><entry><content>content_1crt5a0207</content></entry></data>

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

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

2022-05-02 22:37:56 | entity: <data><node>node_q5eorb0204</node><entry><content>content_1crt5a0207</content></entry></data>

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

2022-05-02 22:37:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2507ec30-7637-4d0b-919b-720943f3274b</value></item-id></result>

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

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

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

2022-05-02 22:38:01 | 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:01 | [Mutex] waiting for: [user_regular1tbnv80203@test-domain.com:message:received:content_1crt5a0207]

2022-05-02 22:38:01 | [Mutex] waiting for: [user_regular1tbnv80203@test-domain.com:message:received:content_1crt5a0207]

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

2022-05-02 22:38:01 | [Mutex] isItemNotified: user_regular1tbnv80203@test-domain.com:message:received:content_1crt5a0207 :: true

2022-05-02 22:38:01 |


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


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

2022-05-02 22:38:01 | [Mutex] isItemNotified: node_q5eorb0204:subscribe_node:success :: true

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

2022-05-02 22:38:01 | command: <data><node>node_q5eorb0204</node><expire-at>2022-05-03T05:38:06Z</expire-at><entry><content>content_141kcv0208</content></entry></data>

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

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

2022-05-02 22:38:01 | entity: <data><node>node_q5eorb0204</node><expire-at>2022-05-03T05:38:06Z</expire-at><entry><content>content_141kcv0208</content></entry></data>

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

2022-05-02 22:38:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6405e4cc-8fdf-4d5b-bf6d-00f7061e8b5a</value></item-id></result>

2022-05-02 22:38:01 | 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=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-02 22:38:09 | 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:09 | [Mutex] waiting for: [user_regular1tbnv80203@test-domain.com:message:received:content_141kcv0208]

2022-05-02 22:38:24 | [Mutex] timeout. Not received [user_regular1tbnv80203@test-domain.com:message:received:content_141kcv0208]

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

2022-05-02 22:38:24 | [Mutex] isItemNotified: user_regular1tbnv80203@test-domain.com:message:received:content_141kcv0208 :: false

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