Generated by TestNG with ReportNG at 22:16 PDT on Friday 07 July 2023
root@1512af24e4a5 / Java 17.0.6 (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.679s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.577s
2023-07-07 22:30:57 |

2023-07-07 22:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-07 22:30:57 | ------------------------------------

2023-07-07 22:30:57 | [Mutex] isItemNotified: node_z1wt960208:exists :: false

2023-07-07 22:30:57 | [Mutex] waiting for: [node_z1wt960208:create_node]

2023-07-07 22:30:57 | [Mutex] waiting for: [node_z1wt960208:create_node]

2023-07-07 22:30:57 | [Mutex] received everything.

2023-07-07 22:30:57 | [Mutex] isItemNotified: node_z1wt960208:create_node:success :: true

2023-07-07 22:30:57 | [Mutex] waiting for: [node_z1wt960208:subscribe_node]

2023-07-07 22:30:57 | [Mutex] waiting for: [node_z1wt960208:subscribe_node]

2023-07-07 22:30:57 | [Mutex] received everything.

2023-07-07 22:30:57 | [Mutex] isItemNotified: node_z1wt960208:subscribe_node:success :: true

2023-07-07 22:30:57 |


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


2023-07-07 22:30:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-07 22:30:57 | command: <data><node>node_z1wt960208</node><entry><content>content_ri5qvx0209</content></entry></data>

2023-07-07 22:30:57 | target: http://localhost:8088

2023-07-07 22:30:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-07 22:30:57 | entity: <data><node>node_z1wt960208</node><entry><content>content_ri5qvx0209</content></entry></data>

2023-07-07 22:30:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:30:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-07 22:30:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>18826006-0042-4a39-ad52-f9fdd12fcf15</value></item-id></result>

2023-07-07 22:30:57 | contains: true

2023-07-07 22:30:57 | [Mutex] received everything.

2023-07-07 22:30:57 | [Mutex] isItemNotified: user_regularguljbq0207@test-domain.com:message:received:content_ri5qvx0209 :: true

2023-07-07 22:30:57 |


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


2023-07-07 22:30:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-07 22:30:57 | command: <data><node>node_z1wt960208</node><expire-at>2023-07-08T05:30:52Z</expire-at><entry><content>content_vlw33h0210</content></entry></data>

2023-07-07 22:30:57 | target: http://localhost:8088

2023-07-07 22:30:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-07 22:30:57 | entity: <data><node>node_z1wt960208</node><expire-at>2023-07-08T05:30:52Z</expire-at><entry><content>content_vlw33h0210</content></entry></data>

2023-07-07 22:30:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:30:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-07 22:30:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>51ae426d-3b62-444a-bd47-52725bfd9ecd</value></item-id></result>

2023-07-07 22:30:57 | contains: true

2023-07-07 22:30:57 | [Mutex] waiting for: [user_regularguljbq0207@test-domain.com:message:received:content_vlw33h0210]

2023-07-07 22:31:12 | [Mutex] timeout. Not received [user_regularguljbq0207@test-domain.com:message:received:content_vlw33h0210]

2023-07-07 22:31:12 | [Mutex] isItemNotified: user_regularguljbq0207@test-domain.com:message:received:content_vlw33h0210 :: false

2023-07-07 22:31:12 |


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


2023-07-07 22:31:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-07 22:31:12 | command: <data><node>node_z1wt960208</node><entry><content>content_wl1x3x0211</content></entry></data>

2023-07-07 22:31:12 | target: http://localhost:8088

2023-07-07 22:31:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-07 22:31:12 | entity: <data><node>node_z1wt960208</node><entry><content>content_wl1x3x0211</content></entry></data>

2023-07-07 22:31:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:31:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-07 22:31:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>850540f4-71c5-4a05-869f-4168cc08daa4</value></item-id></result>

2023-07-07 22:31:12 | contains: true

2023-07-07 22:31:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-07 22:31:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-07 22:31:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-07 22:31:17 | [Mutex] waiting for: [user_regularguljbq0207@test-domain.com:message:received:content_wl1x3x0211]

2023-07-07 22:31:17 | [Mutex] waiting for: [user_regularguljbq0207@test-domain.com:message:received:content_wl1x3x0211]

2023-07-07 22:31:17 | [Mutex] received everything.

2023-07-07 22:31:17 | [Mutex] isItemNotified: user_regularguljbq0207@test-domain.com:message:received:content_wl1x3x0211 :: true

2023-07-07 22:31:17 |


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


2023-07-07 22:31:17 | [Mutex] received everything.

2023-07-07 22:31:17 | [Mutex] isItemNotified: node_z1wt960208:subscribe_node:success :: true

2023-07-07 22:31:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-07 22:31:17 | command: <data><node>node_z1wt960208</node><expire-at>2023-07-08T05:31:22Z</expire-at><entry><content>content_62j5ir0212</content></entry></data>

2023-07-07 22:31:17 | target: http://localhost:8088

2023-07-07 22:31:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-07 22:31:17 | entity: <data><node>node_z1wt960208</node><expire-at>2023-07-08T05:31:22Z</expire-at><entry><content>content_62j5ir0212</content></entry></data>

2023-07-07 22:31:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:31:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-07 22:31:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e1fb194c-6733-4a77-a317-77c1cca509ee</value></item-id></result>

2023-07-07 22:31:17 | contains: true

2023-07-07 22:31:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-07 22:31:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-07-07 22:31:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-07 22:31:25 | [Mutex] waiting for: [user_regularguljbq0207@test-domain.com:message:received:content_62j5ir0212]

2023-07-07 22:31:40 | [Mutex] timeout. Not received [user_regularguljbq0207@test-domain.com:message:received:content_62j5ir0212]

2023-07-07 22:31:40 | [Mutex] received everything.

2023-07-07 22:31:40 | [Mutex] isItemNotified: user_regularguljbq0207@test-domain.com:message:received:content_62j5ir0212 :: false

2023-07-07 22:31:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_62j5ir0212 :: true