Walmart is scheduled to report its third fiscal quarter earnings Thursday, according to the source. The retailer is preparing for the holiday season with a heavier focus on value as consumer sentiment weakens.

Walmart previously said it expects third-quarter net sales to rise 3% to 3.75%. Chief Financial Officer John David Rainey told CNBC last quarter that Walmart's "business is strong" and that he is encouraged by its progress. Last quarter, the company said it was cutting prices across several categories, including beef. It also received a significant boost from tariff refunds, which Rainey said Walmart would use to lower prices.

Analysts at UBS wrote in a note last week that they expect the retailer's third-quarter results to show healthy market share gains. They pointed to growth in e-commerce and higher-margin revenue streams. The analysts also said they expect Walmart's fourth-quarter outlook to include "robust operating income growth."

Walmart's shares have fluctuated this year but are up roughly 13% year to date, according to the source.