Walmart raised its full-year outlook for the third time this year after a strong quarter, NBC News and the Associated Press report. The retailer said it is gaining market share as shoppers across income levels look for bargains. Its profit and sales beat Wall Street forecasts.

"We delivered strong results, growing our core business and gaining market share," chief executive John Furner said, according to the AP. "Looking ahead, we expect a strong holiday season," he said on a call with analysts, NBC News reports.

Sales at stores open at least a year, including online, rose 2.9%, the AP reports. US online sales rose 23%, the company said, according to the AP. The new outlook was more conservative than analysts had expected, the AP says. Rivals Target and Costco are also drawing bargain hunters, NBC News reports.

Rising prices have pushed more higher-income shoppers to Walmart, NBC News reports. The company lowered prices on 7,700 items by the end of the quarter and is selling a Thanksgiving meal for 10 at $3.50 a person, the network says. Revenue from membership fees jumped 17%, NBC News reports.

Walmart's stock slipped about 1% to $126 on Thursday as the wider market fell, NBC News says. More than 150 million customers shop at Walmart each week, according to the company, the AP reports.

Walmart is seen as a gauge of US consumer spending, the AP and NBC News report. Shoppers have kept spending despite high inflation but have grown more picky, the AP says. The National Retail Federation expects holiday sales in November and December to top $1 trillion for the first time, NBC News reports.

What we know: Walmart raised its yearly outlook for the third time after strong quarterly results. What we don't know: How strong holiday spending will be as prices stay high.