Generated by TestNG with ReportNG at 22:18 PDT on Monday 01 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.566s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.571s
2022-08-01 22:33:08 |

2022-08-01 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-01 22:33:08 | ------------------------------------

2022-08-01 22:33:08 | [Mutex] isItemNotified: node_lokbua0204:exists :: false

2022-08-01 22:33:08 | [Mutex] waiting for: [node_lokbua0204:create_node]

2022-08-01 22:33:08 | [Mutex] waiting for: [node_lokbua0204:create_node]

2022-08-01 22:33:08 | [Mutex] received everything.

2022-08-01 22:33:08 | [Mutex] isItemNotified: node_lokbua0204:create_node:success :: true

2022-08-01 22:33:08 | [Mutex] waiting for: [node_lokbua0204:subscribe_node]

2022-08-01 22:33:08 | [Mutex] waiting for: [node_lokbua0204:subscribe_node]

2022-08-01 22:33:08 | [Mutex] received everything.

2022-08-01 22:33:08 | [Mutex] isItemNotified: node_lokbua0204:subscribe_node:success :: true

2022-08-01 22:33:08 |


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


2022-08-01 22:33:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-01 22:33:08 | command: <data><node>node_lokbua0204</node><entry><content>content_20ye3p0205</content></entry></data>

2022-08-01 22:33:08 | target: http://localhost:8088

2022-08-01 22:33:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-01 22:33:08 | entity: <data><node>node_lokbua0204</node><entry><content>content_20ye3p0205</content></entry></data>

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

2022-08-01 22:33:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a44f1c1-68d2-4b08-9552-7f8c5ef9caf6</value></item-id></result>

2022-08-01 22:33:08 | contains: true

2022-08-01 22:33:08 | [Mutex] waiting for: [user_regularmjrrwm0203@test-domain.com:message:received:content_20ye3p0205]

2022-08-01 22:33:08 | [Mutex] received everything.

2022-08-01 22:33:08 | [Mutex] isItemNotified: user_regularmjrrwm0203@test-domain.com:message:received:content_20ye3p0205 :: true

2022-08-01 22:33:08 |


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


2022-08-01 22:33:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-01 22:33:08 | command: <data><node>node_lokbua0204</node><expire-at>2022-08-02T05:33:03Z</expire-at><entry><content>content_g3khiz0206</content></entry></data>

2022-08-01 22:33:08 | target: http://localhost:8088

2022-08-01 22:33:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-01 22:33:08 | entity: <data><node>node_lokbua0204</node><expire-at>2022-08-02T05:33:03Z</expire-at><entry><content>content_g3khiz0206</content></entry></data>

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

2022-08-01 22:33:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2a4c471a-6269-443f-aafb-665cc2e3647a</value></item-id></result>

2022-08-01 22:33:08 | contains: true

2022-08-01 22:33:08 | [Mutex] waiting for: [user_regularmjrrwm0203@test-domain.com:message:received:content_g3khiz0206]

2022-08-01 22:33:23 | [Mutex] timeout. Not received [user_regularmjrrwm0203@test-domain.com:message:received:content_g3khiz0206]

2022-08-01 22:33:23 | [Mutex] isItemNotified: user_regularmjrrwm0203@test-domain.com:message:received:content_g3khiz0206 :: false

2022-08-01 22:33:23 |


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


2022-08-01 22:33:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-01 22:33:23 | command: <data><node>node_lokbua0204</node><entry><content>content_h05pn30207</content></entry></data>

2022-08-01 22:33:23 | target: http://localhost:8088

2022-08-01 22:33:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-01 22:33:23 | entity: <data><node>node_lokbua0204</node><entry><content>content_h05pn30207</content></entry></data>

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

2022-08-01 22:33:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>edc6448f-6f91-4b9a-88a7-c450f73ed6d8</value></item-id></result>

2022-08-01 22:33:23 | contains: true

2022-08-01 22:33:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-08-01 22:33:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-01 22:33:28 | [Mutex] waiting for: [user_regularmjrrwm0203@test-domain.com:message:received:content_h05pn30207]

2022-08-01 22:33:28 | [Mutex] waiting for: [user_regularmjrrwm0203@test-domain.com:message:received:content_h05pn30207]

2022-08-01 22:33:28 | [Mutex] received everything.

2022-08-01 22:33:28 | [Mutex] isItemNotified: user_regularmjrrwm0203@test-domain.com:message:received:content_h05pn30207 :: true

2022-08-01 22:33:28 |


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


2022-08-01 22:33:28 | [Mutex] received everything.

2022-08-01 22:33:28 | [Mutex] isItemNotified: node_lokbua0204:subscribe_node:success :: true

2022-08-01 22:33:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-01 22:33:29 | command: <data><node>node_lokbua0204</node><expire-at>2022-08-02T05:33:34Z</expire-at><entry><content>content_723t0o0208</content></entry></data>

2022-08-01 22:33:29 | target: http://localhost:8088

2022-08-01 22:33:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-01 22:33:29 | entity: <data><node>node_lokbua0204</node><expire-at>2022-08-02T05:33:34Z</expire-at><entry><content>content_723t0o0208</content></entry></data>

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

2022-08-01 22:33:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c1b136a-c7d4-4bf4-bece-c05443b771d3</value></item-id></result>

2022-08-01 22:33:29 | contains: true

2022-08-01 22:33:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-01 22:33:37 | [Mutex] waiting for: [user_regularmjrrwm0203@test-domain.com:message:received:content_723t0o0208]

2022-08-01 22:33:52 | [Mutex] timeout. Not received [user_regularmjrrwm0203@test-domain.com:message:received:content_723t0o0208]

2022-08-01 22:33:52 | [Mutex] received everything.

2022-08-01 22:33:52 | [Mutex] isItemNotified: user_regularmjrrwm0203@test-domain.com:message:received:content_723t0o0208 :: false

2022-08-01 22:33:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_723t0o0208 :: true